summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-21 00:21:50 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-21 00:21:50 +0000
commit817a23d0bf804a5fe232d56880d8a02815f23994 (patch)
tree2559af2d107e2839b7c05656ff3e62f77d778719
parent7eed731c2dddacd9237f3b838db38c7ff36f5022 (diff)
downloadchromium_src-817a23d0bf804a5fe232d56880d8a02815f23994.zip
chromium_src-817a23d0bf804a5fe232d56880d8a02815f23994.tar.gz
chromium_src-817a23d0bf804a5fe232d56880d8a02815f23994.tar.bz2
Mmm, pie.
BUG=16713 TEST=none Review URL: http://codereview.chromium.org/308010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29592 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--DEPS2
-rw-r--r--build/common.gypi7
2 files changed, 8 insertions, 1 deletions
diff --git a/DEPS b/DEPS
index bb97178..7df44d9 100644
--- a/DEPS
+++ b/DEPS
@@ -43,7 +43,7 @@ deps = {
"http://v8.googlecode.com/svn/trunk@3082",
"src/native_client":
- "http://nativeclient.googlecode.com/svn/trunk/src/native_client@868",
+ "http://nativeclient.googlecode.com/svn/trunk/src/native_client@885",
"src/third_party/skia":
"http://skia.googlecode.com/svn/trunk@376",
diff --git a/build/common.gypi b/build/common.gypi
index 1ca523d..2533c25 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -746,6 +746,13 @@
['_mac_bundle', {
'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
}],
+ ['_type=="executable"', {
+ 'xcode_settings': {
+ 'OTHER_LDFLAGS': [
+ '-Wl,-pie', # Position-independent executable (MH_PIE)
+ ],
+ },
+ }],
['_type=="executable" or _type=="shared_library"', {
'target_conditions': [
['mac_real_dsym == 1', {