From c2fb2391f459ad4ea2ce939dac02b4f4e33b9739 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Wed, 29 Aug 2012 15:13:23 +0800 Subject: [PATCH] Enable stack-protector for x86 Change-Id: I7a169075ca49ab831c37625d416c1d4b026bfec3 --- core/combo/TARGET_linux-x86.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/core/combo/TARGET_linux-x86.mk b/core/combo/TARGET_linux-x86.mk index f12ad3eac9..9a6e08e231 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.