Date: Sun, 10 Feb 2013 17:58:45 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r246627 - head/usr.sbin/named Message-ID: <201302101758.r1AHwjJ7054156@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cperciva Date: Sun Feb 10 17:58:44 2013 New Revision: 246627 URL: http://svnweb.freebsd.org/changeset/base/246627 Log: Don't try to suppress the inclusion of the build date in named's version string by undefining __DATE__, since (unlike gcc) clang doesn't allow us to do that. Instead, define NO_VERSION_DATE, which was helpfully added to the named source code for exactly this purpose. Modified: head/usr.sbin/named/Makefile Modified: head/usr.sbin/named/Makefile ============================================================================== --- head/usr.sbin/named/Makefile Sun Feb 10 17:50:56 2013 (r246626) +++ head/usr.sbin/named/Makefile Sun Feb 10 17:58:44 2013 (r246627) @@ -48,7 +48,7 @@ CFLAGS+= -I${SRCDIR}/unix/include -I${SR CFLAGS+= -I${BIND_DIR}/lib/isc/${ISC_ATOMIC_ARCH}/include # Remove the date stamp to make it more obvious when real changes happen -CFLAGS+= -U__DATE__ +CFLAGS+= -DNO_VERSION_DATE WARNS?= 0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302101758.r1AHwjJ7054156>