[qca-nss-clients] Remove __TIME__ __DATE__ macros
GCC 4.9 and newer have turn on -Werror=date-time, which errors on
use of __DATE__, __TIME__, or __TIMESTAMP__, which would increase
reproducibility.
- Remove __DATE__ and __TIME__ macro
- Take host build system's time in cflag and use that instead
Change-Id: I240292a12408542d818112d42f5f05bfc3ca4684
Signed-off-by: Ram Chandra Jangir <rjangi@codeaurora.org>
diff --git a/netlink/Makefile b/netlink/Makefile
index 8b2fb2a..613aabd 100755
--- a/netlink/Makefile
+++ b/netlink/Makefile
@@ -1,6 +1,7 @@
ccflags-y := -I$(obj)/include
ccflags-y += -I$(obj)/../../qca-nss-crypto/include/
ccflags-y += -DNSS_NL_DEBUG_LEVEL=4
+ccflags-y += -DNSS_CLIENT_BUILD_ID="$(BUILD_ID)"
ccflags-y += -DCONFIG_NSS_NLCRYPTO=1
ccflags-y += -DCONFIG_NSS_NLIPV4=1