summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2012-12-11 08:41:35 -0800
committerGerrit Code Review <noreply-gerritcodereview@google.com>2012-12-11 08:41:36 -0800
commita303510f133e0e20aefedd7d03adfbb88cb85a54 (patch)
tree7b8f3fd4b115fde66a79f3d22df5c5479d237156 /core
parenta7b850864c54bb6f223d4b186c5937fd20aa68d8 (diff)
parent40febcad47d22c234b9dcc14391ccd936b895f8c (diff)
downloadbuild-a303510f133e0e20aefedd7d03adfbb88cb85a54.zip
build-a303510f133e0e20aefedd7d03adfbb88cb85a54.tar.gz
build-a303510f133e0e20aefedd7d03adfbb88cb85a54.tar.bz2
Merge "x86: enable FORTIFY_SOURCE"
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 569914b..948ee17 100644
--- a/core/combo/TARGET_linux-x86.mk
+++ b/core/combo/TARGET_linux-x86.mk
@@ -84,6 +84,7 @@ TARGET_GLOBAL_CFLAGS += \
-Ulinux \
-Wa,--noexecstack \
-Werror=format-security \
+ -D_FORTIFY_SOURCE=1 \
-Wstrict-aliasing=2 \
-fPIC -fPIE \
-ffunction-sections \