]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - Makefile
[MTD] [NAND] davinci: drop usage of cpu_is_* macro
[linux-2.6-omap-h63xx.git] / Makefile
index 2e2f4a4324af777e66ffd333f7b3e44c8d5e243b..a2c2efe9e82edd7b9df112ce3aad7e76b8cb9501 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -566,6 +566,9 @@ KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
 # disable pointer signed / unsigned warnings in gcc 4.0
 KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,)
 
+# disable invalid "can't wrap" optimzations for signed / pointers
+KBUILD_CFLAGS  += $(call cc-option,-fwrapv)
+
 # Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments
 # But warn user when we do so
 warn-assign = \