summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorsbc@chromium.org <sbc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-15 07:27:56 +0000
committersbc@chromium.org <sbc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-15 07:27:56 +0000
commit1e8e7b9cce00998ce06a9dd3dafe9bd71060482b (patch)
treed6c6046c0e34e3baafb0eae326f727037ba081ee /build
parent153440628d3c9e6e02ed26eef87459019ac594cd (diff)
downloadchromium_src-1e8e7b9cce00998ce06a9dd3dafe9bd71060482b.zip
chromium_src-1e8e7b9cce00998ce06a9dd3dafe9bd71060482b.tar.gz
chromium_src-1e8e7b9cce00998ce06a9dd3dafe9bd71060482b.tar.bz2
Use gold for ARM linux builds.
There is an issue using ld.bfd to cross build ARM chrome on linux (it seems to not honor --sysroot correctly) so make sure we use gold by default. BUG=191499 Review URL: https://chromiumcodereview.appspot.com/12859002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188282 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/common.gypi b/build/common.gypi
index e74d044..67816fc 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -547,8 +547,9 @@
}],
# linux_use_gold_binary: whether to use the binary checked into
- # third_party/gold.
- ['OS=="linux" and target_arch=="x64"', {
+ # third_party/gold. Gold is not used for 32-bit linux builds
+ # as it runs out of address space.
+ ['OS=="linux" and (target_arch=="x64" or target_arch=="arm")', {
'linux_use_gold_binary%': 1,
}, {
'linux_use_gold_binary%': 0,