]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - Makefile
Merge current mainline tree into linux-omap tree
[linux-2.6-omap-h63xx.git] / Makefile
index cf782ca3b6cadc7c567884b896ba091713734b05..a04da9376d1d849add2337e671faa74422ab5567 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -538,8 +538,9 @@ 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
+ifndef CONFIG_CC_STACKPROTECTOR
 KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector)
+endif
 
 ifdef CONFIG_FRAME_POINTER
 KBUILD_CFLAGS  += -fno-omit-frame-pointer -fno-optimize-sibling-calls