summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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', {