summaryrefslogtreecommitdiffstats
path: root/usr.sbin/named
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2013-02-10 17:58:44 +0000
committercperciva <cperciva@FreeBSD.org>2013-02-10 17:58:44 +0000
commit600c4a5591d88f52a57e117b862b4c6d6c397f06 (patch)
tree3eca29c27348bf83d17b3f1efb49ce2998f99941 /usr.sbin/named
parent522c6ecda0876cfe7e4167de2d7c03ed17bbf6e9 (diff)
downloadFreeBSD-src-600c4a5591d88f52a57e117b862b4c6d6c397f06.zip
FreeBSD-src-600c4a5591d88f52a57e117b862b4c6d6c397f06.tar.gz
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.
Diffstat (limited to 'usr.sbin/named')
-rw-r--r--usr.sbin/named/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/named/Makefile b/usr.sbin/named/Makefile
index 1200c7e..4743a7b 100644
--- a/usr.sbin/named/Makefile
+++ b/usr.sbin/named/Makefile
@@ -48,7 +48,7 @@ CFLAGS+= -I${SRCDIR}/unix/include -I${SRCDIR}/include -I${LIB_BIND_DIR}
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
OpenPOWER on IntegriCloud