Commit c6d6cd2f authored by machenbach's avatar machenbach Committed by Commit bot

[gn] Use PIE in v8 executables

This uses the same compiler flag as the chrome executable
does for better performance comparison.

BUG=chromium:474921

Review-Url: https://codereview.chromium.org/2152853004
Cr-Commit-Position: refs/heads/master@{#37798}
parent 911ff267
......@@ -79,6 +79,10 @@ template("v8_executable") {
configs += invoker.configs
configs -= remove_configs
configs += add_configs
if (is_linux) {
# For enabling ASLR.
ldflags = [ "-pie" ]
}
}
}
......
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