Commit 8465244e authored by ssanfilippo's avatar ssanfilippo Committed by Commit bot

Broaden the condition under which gold is used as linker.

LOG=N

Review-Url: https://codereview.chromium.org/2121123002
Cr-Commit-Position: refs/heads/master@{#37521}
parent 7a834e8b
...@@ -169,7 +169,7 @@ ...@@ -169,7 +169,7 @@
# are using a custom toolchain and need to control -B in ldflags. # are using a custom toolchain and need to control -B in ldflags.
# Do not use 32-bit gold on 32-bit hosts as it runs out address space # Do not use 32-bit gold on 32-bit hosts as it runs out address space
# for component=static_library builds. # for component=static_library builds.
['(OS=="linux" or OS=="android") and (target_arch=="x64" or target_arch=="arm" or (target_arch=="ia32" and host_arch=="x64"))', { ['((OS=="linux" or OS=="android") and (target_arch=="x64" or target_arch=="arm" or (target_arch=="ia32" and host_arch=="x64"))) or (OS=="linux" and target_arch=="mipsel")', {
'linux_use_bundled_gold%': 1, 'linux_use_bundled_gold%': 1,
}, { }, {
'linux_use_bundled_gold%': 0, 'linux_use_bundled_gold%': 0,
......
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
# are using a custom toolchain and need to control -B in ldflags. # are using a custom toolchain and need to control -B in ldflags.
# Do not use 32-bit gold on 32-bit hosts as it runs out address space # Do not use 32-bit gold on 32-bit hosts as it runs out address space
# for component=static_library builds. # for component=static_library builds.
['OS=="linux" and (target_arch=="x64" or target_arch=="arm")', { ['((OS=="linux" or OS=="android") and (target_arch=="x64" or target_arch=="arm" or (target_arch=="ia32" and host_arch=="x64"))) or (OS=="linux" and target_arch=="mipsel")', {
'linux_use_bundled_gold%': 1, 'linux_use_bundled_gold%': 1,
}, { }, {
'linux_use_bundled_gold%': 0, 'linux_use_bundled_gold%': 0,
......
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