Index: build/toolchain/gcc_link_wrapper.py |
diff --git a/build/toolchain/gcc_link_wrapper.py b/build/toolchain/gcc_link_wrapper.py |
index c701c1b99c1a55efa42e73eb33b874d830a5d0d7..b676bb653c409ebbcb1ed65c78eae143ecef559b 100755 |
--- a/build/toolchain/gcc_link_wrapper.py |
+++ b/build/toolchain/gcc_link_wrapper.py |
@@ -11,6 +11,7 @@ does not have a POSIX-like shell (e.g. Windows). |
""" |
import argparse |
+import os |
import subprocess |
import sys |
@@ -47,6 +48,9 @@ def main(): |
help='Linking command') |
args = parser.parse_args() |
+ # Work-around for gold being slow-by-default. http://crbug.com/632230 |
+ os.environ['LC_ALL'] = 'C' |
+ |
# First, run the actual link. |
result = subprocess.call(CommandToRun(args.command)) |
if result != 0: |