]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Revert "Makefile: Build with -Werror=date-time if the compiler supports it"
authorGayatri Vasudevan <gayatri.vasudevan@oracle.com>
Tue, 21 Nov 2017 21:01:19 +0000 (13:01 -0800)
committerAllen Pais <allen.pais@oracle.com>
Tue, 26 Dec 2017 03:59:19 +0000 (09:29 +0530)
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 <gayatri.vasudevan@oracle.com>
Reviewed-by: John Haxby <john.haxby@oracle.com>
Acked-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
Acked-by: Girish Moodalbail <girish.moodalbail@oracle.com>
Makefile

index 4971f939d870177a81b73b602cf06e02fa2e25b5..6dd94d729592088fe09322dddd68ab8083730403 100644 (file)
--- 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)