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