aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2e2f4a4324af..c6307b6d069f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
1VERSION = 2 1VERSION = 2
2PATCHLEVEL = 6 2PATCHLEVEL = 6
3SUBLEVEL = 29 3SUBLEVEL = 29
4EXTRAVERSION = -rc8 4EXTRAVERSION =
5NAME = Erotic Pickled Herring 5NAME = Temporary Tasmanian Devil
6 6
7# *DOCUMENTATION* 7# *DOCUMENTATION*
8# To see a list of typical targets execute "make help" 8# To see a list of typical targets execute "make help"
@@ -533,8 +533,9 @@ KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN})
533endif 533endif
534 534
535# Force gcc to behave correct even for buggy distributions 535# Force gcc to behave correct even for buggy distributions
536# Arch Makefiles may override this setting 536ifndef CONFIG_CC_STACKPROTECTOR
537KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector) 537KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector)
538endif
538 539
539ifdef CONFIG_FRAME_POINTER 540ifdef CONFIG_FRAME_POINTER
540KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls 541KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls
@@ -566,6 +567,12 @@ KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
566# disable pointer signed / unsigned warnings in gcc 4.0 567# disable pointer signed / unsigned warnings in gcc 4.0
567KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,) 568KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,)
568 569
570# disable invalid "can't wrap" optimzations for signed / pointers
571KBUILD_CFLAGS += $(call cc-option,-fwrapv)
572
573# revert to pre-gcc-4.4 behaviour of .eh_frame
574KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm)
575
569# Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments 576# Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments
570# But warn user when we do so 577# But warn user when we do so
571warn-assign = \ 578warn-assign = \