summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b98a4f70d1b5..ed6907448fb0 100644
--- a/Makefile
+++ b/Makefile
@@ -782,6 +782,9 @@ KBUILD_CFLAGS += $(call cc-option,-Werror=strict-prototypes)
782# Prohibit date/time macros, which would make the build non-deterministic 782# Prohibit date/time macros, which would make the build non-deterministic
783KBUILD_CFLAGS += $(call cc-option,-Werror=date-time) 783KBUILD_CFLAGS += $(call cc-option,-Werror=date-time)
784 784
785# enforce correct pointer usage
786KBUILD_CFLAGS += $(call cc-option,-Werror=incompatible-pointer-types)
787
785# use the deterministic mode of AR if available 788# use the deterministic mode of AR if available
786KBUILD_ARFLAGS := $(call ar-option,D) 789KBUILD_ARFLAGS := $(call ar-option,D)
787 790