svn commit: r246627 - head/usr.sbin/named

Colin Percival cperciva at FreeBSD.org
Sun Feb 10 17:58:46 UTC 2013


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
 


More information about the svn-src-all mailing list