aboutsummaryrefslogtreecommitdiffstats
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 46c04c546ee2..828028d4a448 100644
--- a/Makefile
+++ b/Makefile
@@ -567,6 +567,9 @@ KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
567# disable pointer signed / unsigned warnings in gcc 4.0 567# disable pointer signed / unsigned warnings in gcc 4.0
568KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,) 568KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,)
569 569
570# disable invalid "can't wrap" optimzations for signed / pointers
571KBUILD_CFLAGS += $(call cc-option,-fwrapv)
572
570# Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments 573# Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments
571# But warn user when we do so 574# But warn user when we do so
572warn-assign = \ 575warn-assign = \