Add option to enable -Wframe-larger-than= on gcc 4.4
[deliverable/linux.git] / Makefile
index 6ae7fd4475b81a049bf403e217a35fdc5467aef6..c6d331ba140b0624a54940f87408f384c58a3f89 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -507,6 +507,10 @@ else
 KBUILD_CFLAGS  += -O2
 endif
 
+ifneq (CONFIG_FRAME_WARN,0)
+KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN})
+endif
+
 # Force gcc to behave correct even for buggy distributions
 # Arch Makefiles may override this setting
 KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector)
This page took 0.043693 seconds and 5 git commands to generate.