summaryrefslogtreecommitdiff
path: root/arch/x86/Makefile
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-12-01 11:38:06 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2008-12-01 11:38:06 +1100
commit3e96f3209a3ac6fae7152a668538247005c868a9 (patch)
tree35a9e88860ca9ffebc1ec621fc3af7b7c694d736 /arch/x86/Makefile
parent465915ed7f163b6b60ddc1c51c9aa1dc9de853b6 (diff)
parent26136bb101dc26e30ebc93ca865cc16013415f67 (diff)
Merge commit 'stackprotector/auto-stackprotector-next'
Diffstat (limited to 'arch/x86/Makefile')
-rw-r--r--arch/x86/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/Makefile b/arch/x86/Makefile
index d1a47adb5aec..cacee981d166 100644
--- a/arch/x86/Makefile
+++ b/arch/x86/Makefile
@@ -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 )