Reviewers: ulan,

Description:
Don't pass -pie when building a shared library build on android

BUG=none
[email protected]
LOG=n

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

Base URL: https://chromium.googlesource.com/v8/v8.git@master

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


Index: build/android.gypi
diff --git a/build/android.gypi b/build/android.gypi
index b7fc7147e8d9a992310bdbe02994643c02db5d45..5d3b25a74636ca4b8bf430b94a7835673dd49dc4 100644
--- a/build/android.gypi
+++ b/build/android.gypi
@@ -215,7 +215,7 @@
               '-fno-stack-protector',
             ],
           }],
- ['target_arch=="arm" or target_arch=="arm64" or target_arch=="x64"', { + ['(target_arch=="arm" or target_arch=="arm64" or target_arch=="x64") and component!="shared_library"', {
             'cflags': [
               '-fPIE',
             ],


--
--
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