diff options
author | cperciva <cperciva@FreeBSD.org> | 2006-08-13 05:32:10 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2006-08-13 05:32:10 +0000 |
commit | 4b151a7c44dd1b907778fcb76684f3dd8c49cb93 (patch) | |
tree | 4f6461de65df9736ca316b7dfe55e2408e6ef6b9 | |
parent | cc1f2c465bfc2a22dd28655bfc8e31004e2eee48 (diff) | |
download | FreeBSD-src-4b151a7c44dd1b907778fcb76684f3dd8c49cb93.zip FreeBSD-src-4b151a7c44dd1b907778fcb76684f3dd8c49cb93.tar.gz |
Undefine __DATE__ in order to avoid placing a build timestamp into
/usr/sbin/{named, lwresd}. Note that POSIX / C99 doesn't technically
allow __DATE__ to be (un|re)defined, but gcc does what we mean anyway.
Approved by: dougb
MFC after: 1 month
-rw-r--r-- | usr.sbin/named/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/named/Makefile b/usr.sbin/named/Makefile index fe294ea..804ef54 100644 --- a/usr.sbin/named/Makefile +++ b/usr.sbin/named/Makefile @@ -24,6 +24,9 @@ SRCS+= aclconf.c builtin.c client.c config.c control.c \ CFLAGS+= -I${SRCDIR}/unix/include -I${SRCDIR}/include -I${LIB_BIND_DIR} +# Remove the date stamp to make it more obvious when real changes happen +CFLAGS+= -U__DATE__ + DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} |