Merge branch 'master' of /home/sam/kernel/linux-2.6/
authorSam Ravnborg <sam@mars.ravnborg.org>
Mon, 3 Jul 2006 21:24:23 +0000 (23:24 +0200)
committerSam Ravnborg <sam@mars.ravnborg.org>
Mon, 3 Jul 2006 21:24:23 +0000 (23:24 +0200)
Makefile

index 4dcf25d43fa6b1aeb30be44bdf0042fd94983ab9..1cc793ff42d434b326a7a0b6ef691112307cc1d5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -309,6 +309,9 @@ CPPFLAGS        := -D__KERNEL__ $(LINUXINCLUDE)
 
 CFLAGS          := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
                    -fno-strict-aliasing -fno-common
+# Force gcc to behave correct even for buggy distributions
+CFLAGS          += $(call cc-option, -fno-stack-protector-all \
+                                     -fno-stack-protector)
 AFLAGS          := -D__ASSEMBLY__
 
 # Read KERNELRELEASE from include/config/kernel.release (if it exists)