summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-08-29 15:13:23 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2012-08-29 15:13:23 +0800
commitc2fb2391f459ad4ea2ce939dac02b4f4e33b9739 (patch)
tree7a6baca4291135e6771bf1a615de560375e401ab /core
parent9eb87b8d2011e65462ea42de6899158cd35a492a (diff)
downloadbuild-c2fb2391f459ad4ea2ce939dac02b4f4e33b9739.zip
build-c2fb2391f459ad4ea2ce939dac02b4f4e33b9739.tar.gz
build-c2fb2391f459ad4ea2ce939dac02b4f4e33b9739.tar.bz2
Enable stack-protector for x86
Change-Id: I7a169075ca49ab831c37625d416c1d4b026bfec3
Diffstat (limited to 'core')
-rw-r--r--core/combo/TARGET_linux-x86.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/combo/TARGET_linux-x86.mk b/core/combo/TARGET_linux-x86.mk
index f12ad3e..9a6e08e 100644
--- a/core/combo/TARGET_linux-x86.mk
+++ b/core/combo/TARGET_linux-x86.mk
@@ -94,6 +94,7 @@ TARGET_GLOBAL_CFLAGS += \
-fstrict-aliasing \
-funswitch-loops \
-funwind-tables \
+ -fstack-protector \
-include $(call select-android-config-h,target_linux-x86)
# XXX: Not sure this is still needed. Must check with our toolchains.