Commit 70813e6a authored by ulan@chromium.org's avatar ulan@chromium.org

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
parent 98ebea4e
......@@ -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"', {
......
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