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:
parent
1af420e000
commit
4bd1e0bbf8
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user