VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Masahiro Yamada <masahiroy@kernel.org> 2020-09-10 22:51:20 +0900 committer: Masahiro Yamada <masahiroy@kernel.org> 2020-09-25 00:36:50 +0900 commit: 87de84c9140e1ccb221c68bb7e4939e880b3f2bb parent: 7d4eb0d8e229fa51e14f0f85de03c02880e7d742
Commit Summary:
kbuild: remove cc-option test of -Werror=date-time
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/Makefile b/Makefile
index 3722b42fd01e..e39ed7967cd6 100644
--- a/Makefile
+++ b/Makefile
@@ -946,7 +946,7 @@ KBUILD_CFLAGS  += -fno-stack-check
 KBUILD_CFLAGS   += $(call cc-option,-fconserve-stack)
 
 # Prohibit date/time macros, which would make the build non-deterministic
-KBUILD_CFLAGS   += $(call cc-option,-Werror=date-time)
+KBUILD_CFLAGS   += -Werror=date-time
 
 # enforce correct pointer usage
 KBUILD_CFLAGS   += $(call cc-option,-Werror=incompatible-pointer-types)