From 859cacb093aec47e296f5b3641308b1f16bf79e4 Mon Sep 17 00:00:00 2001 From: Gayatri Vasudevan Date: Tue, 21 Nov 2017 13:01:19 -0800 Subject: [PATCH] Revert "Makefile: Build with -Werror=date-time if the compiler supports it" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This reverts commit fe7c36c7bde1 ("Makefile: Build with -Werror=date-time if the compiler supports it") Revert this change because UEK 4.1 still uses __DATE__ and __TIME__ macro and building UEK with GCC 4.9 or newer should not cause compilation errors. Orabug: 27132235 Signed-off-by: Gayatri Vasudevan Reviewed-by: John Haxby Acked-by: HÃ¥kon Bugge Acked-by: Girish Moodalbail --- Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Makefile b/Makefile index 4971f939d870..6dd94d729592 100644 --- a/Makefile +++ b/Makefile @@ -769,9 +769,6 @@ KBUILD_CFLAGS += $(call cc-option,-Werror=implicit-int) # require functions to have arguments in prototypes, not empty 'int foo()' KBUILD_CFLAGS += $(call cc-option,-Werror=strict-prototypes) -# Prohibit date/time macros, which would make the build non-deterministic -KBUILD_CFLAGS += $(call cc-option,-Werror=date-time) - # use the deterministic mode of AR if available KBUILD_ARFLAGS := $(call ar-option,D) -- 2.50.1