Index: build/common.gypi |
=================================================================== |
--- build/common.gypi (revision 183611) |
+++ build/common.gypi (working copy) |
@@ -543,7 +543,7 @@ |
# linux_use_gold_binary: whether to use the binary checked into |
# third_party/gold. |
- ['OS=="linux"', { |
+ ['OS=="linux" and target_arch=="x64"', { |
Paweł Hajdan Jr.
2013/02/21 15:08:25
I think it'd be better to say target_arch!="ia32",
Lei Zhang
2013/02/21 19:41:40
Actually, we only have pre-compiled gold binaries
|
'linux_use_gold_binary%': 1, |
}, { |
'linux_use_gold_binary%': 0, |
@@ -552,7 +552,7 @@ |
# linux_use_gold_flags: whether to use build flags that rely on gold. |
# On by default for x64 Linux. Temporarily off for ChromeOS as |
# it failed on a buildbot. |
- ['OS=="linux" and chromeos==0', { |
+ ['OS=="linux" and target_arch=="x64" and chromeos==0', { |
'linux_use_gold_flags%': 1, |
}, { |
'linux_use_gold_flags%': 0, |
@@ -2898,8 +2898,8 @@ |
'target_conditions': [ |
['_toolset=="target"', { |
'ldflags': [ |
- # Workaround for linker OOM. http://crbug.com/160253. |
- '-Wl,--no-keep-files-mapped', |
+ # Workaround for linker OOM. |
+ '-Wl,--no-keep-memory', |
], |
}], |
], |