Reviewers: rmcilroy,

Message:
PTAL

Description:
ARM64: Enable PIE on Android.

BUG=373219
LOG=N

Please review this at https://codereview.chromium.org/287893002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+9, -0 lines):
  M build/android.gypi


Index: build/android.gypi
diff --git a/build/android.gypi b/build/android.gypi
index 73ac93a434adceeca22eb79841a4e7663238e18c..3506deeffaa15be87d49a6d50130e9ab51a67604 100644
--- a/build/android.gypi
+++ b/build/android.gypi
@@ -215,6 +215,15 @@
               '-fno-stack-protector',
             ],
           }],
+          ['target_arch=="arm64"', {
+            # TODO(ulan): Enable PIE for other architectures.
+            'cflags': [
+              '-fPIE',
+            ],
+            'ldflags': [
+              '-pie',
+            ],
+          }],
         ],
         'target_conditions': [
           ['_type=="executable"', {


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to