aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 0aeec59c1f0a..9c87e60d169c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
1VERSION = 2 1VERSION = 2
2PATCHLEVEL = 6 2PATCHLEVEL = 6
3SUBLEVEL = 31 3SUBLEVEL = 31
4EXTRAVERSION = -rc2 4EXTRAVERSION = -rc7
5NAME = Man-Eating Seals of Antiquity 5NAME = Man-Eating Seals of Antiquity
6 6
7# *DOCUMENTATION* 7# *DOCUMENTATION*
@@ -343,7 +343,8 @@ KBUILD_CPPFLAGS := -D__KERNEL__
343KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ 343KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
344 -fno-strict-aliasing -fno-common \ 344 -fno-strict-aliasing -fno-common \
345 -Werror-implicit-function-declaration \ 345 -Werror-implicit-function-declaration \
346 -Wno-format-security 346 -Wno-format-security \
347 -fno-delete-null-pointer-checks
347KBUILD_AFLAGS := -D__ASSEMBLY__ 348KBUILD_AFLAGS := -D__ASSEMBLY__
348 349
349# Read KERNELRELEASE from include/config/kernel.release (if it exists) 350# Read KERNELRELEASE from include/config/kernel.release (if it exists)
@@ -565,7 +566,7 @@ KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
565KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,) 566KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,)
566 567
567# disable invalid "can't wrap" optimizations for signed / pointers 568# disable invalid "can't wrap" optimizations for signed / pointers
568KBUILD_CFLAGS += $(call cc-option,-fwrapv) 569KBUILD_CFLAGS += $(call cc-option,-fno-strict-overflow)
569 570
570# revert to pre-gcc-4.4 behaviour of .eh_frame 571# revert to pre-gcc-4.4 behaviour of .eh_frame
571KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm) 572KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm)