Merge branch 'linus' into stackprotector
[sfrench/cifs-2.6.git] / arch / x86 / Makefile
index f5631da585b69ac1722891bc0bee1e63a1ec652c..58ea55ce24238c8981e8fd1ec07ee6c19457593b 100644 (file)
@@ -73,7 +73,7 @@ else
 
         stackp := $(CONFIG_SHELL) $(srctree)/scripts/gcc-x86_64-has-stack-protector.sh
         stackp-$(CONFIG_CC_STACKPROTECTOR) := $(shell $(stackp) \
-                "$(CC)" -fstack-protector )
+                "$(CC)" "-fstack-protector -DGCC_HAS_SP" )
         stackp-$(CONFIG_CC_STACKPROTECTOR_ALL) += $(shell $(stackp) \
                 "$(CC)" -fstack-protector-all )