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.
This commit is contained in:
Colin Percival 2013-02-10 17:58:44 +00:00
parent 1af420e000
commit 4bd1e0bbf8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=246627

View File

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