summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorcevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-29 00:40:36 +0000
committercevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-29 00:40:36 +0000
commitcd00bd86690ed884e5d486dc6298880ca44bdbd7 (patch)
treed1aaeed6cbfbb9af74630e38254c8ab848eeb2e8 /build
parent873bd0190d3ddfdee448c0a35f657e4f493187f0 (diff)
downloadchromium_src-cd00bd86690ed884e5d486dc6298880ca44bdbd7.zip
chromium_src-cd00bd86690ed884e5d486dc6298880ca44bdbd7.tar.gz
chromium_src-cd00bd86690ed884e5d486dc6298880ca44bdbd7.tar.bz2
Restore -pie linker flag on Linux.
Review URL: https://chromiumcodereview.appspot.com/9514014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124072 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 34bd175..821adc9 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -474,6 +474,10 @@
# Use system yasm instead of bundled one.
'use_system_yasm%': 0,
+ # Default to enabled PIE; this is important for ASLR but we may need to be
+ # able to turn it off for various reasons.
+ 'linux_disable_pie%': 0,
+
# The release channel that this build targets. This is used to restrict
# channel-specific build options, like which installer packages to create.
# The default is 'all', which does no channel-specific filtering.