cflags: disable -Werror=date-time

This has been causing issues with developers using older
compilers. Until we are on the same version and have a
better way to deal with this, lets disable it.

Change-Id: I25c895c72a7a1a888332320d78bd47246dbafaff
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2015-06-22 19:44:37 -04:00
commit 47f8088e26

View file

@ -686,7 +686,7 @@ KBUILD_CFLAGS += $(call cc-option,-fconserve-stack)
KBUILD_CFLAGS += $(call cc-option,-Werror=implicit-int)
# Prohibit date/time macros, which would make the build non-deterministic
KBUILD_CFLAGS += $(call cc-option,-Werror=date-time)
# KBUILD_CFLAGS += $(call cc-option,-Werror=date-time)
# use the deterministic mode of AR if available
KBUILD_ARFLAGS := $(call ar-option,D)