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
This commit is contained in:
Colin Percival 2006-08-13 05:32:10 +00:00
parent b146f9e5d2
commit 7773ee24f3

View File

@ -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}