Commit bbe8b00d authored by jochen's avatar jochen Committed by Commit bot

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

BUG=none
R=ulan@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/822933002

Cr-Commit-Position: refs/heads/master@{#25938}
parent 4f9193e0
...@@ -215,7 +215,7 @@ ...@@ -215,7 +215,7 @@
'-fno-stack-protector', '-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': [ 'cflags': [
'-fPIE', '-fPIE',
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment