ARM64: Enable PIE on Android.

BUG=373219
LOG=N
R=rmcilroy@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21312 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
ulan@chromium.org 2014-05-14 14:11:54 +00:00
parent 98ebea4e5d
commit 70813e6a82

View File

@ -215,6 +215,15 @@
'-fno-stack-protector',
],
}],
['target_arch=="arm64" or target_arch=="x64"', {
# TODO(ulan): Enable PIE for other architectures (crbug.com/373219).
'cflags': [
'-fPIE',
],
'ldflags': [
'-pie',
],
}],
],
'target_conditions': [
['_type=="executable"', {