Commit cc2490a2 authored by dpranke's avatar dpranke Committed by Commit bot

Use gold for linking on both 32-bit and 64-bit linux GN builds.

R=brettw@chromium.org, thestig@chromium.org
BUG=432959

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

Cr-Commit-Position: refs/heads/master@{#348703}
parent f5865160
......@@ -44,9 +44,9 @@ declare_args() {
# Requires profiling to be set to true.
enable_full_stack_frames_for_profiling = false
# Use gold for linking on 64-bit Linux only (on 32-bit it runs out of
# address space, and it doesn't support cross-compiling).
use_gold = is_linux && current_cpu == "x64"
# Use 64-bit gold for linking on both 64-bit Linux and 32-bit linux;
# 32-bit Gold runs out of address-space on 32-bit bit builds.
use_gold = is_linux && (current_cpu == "x64" || current_cpu == "x86")
# When we are going to use gold we need to find it.
if (use_gold) {
......
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