| Index: build/toolchain/gcc_solink_wrapper.py
|
| diff --git a/build/toolchain/gcc_solink_wrapper.py b/build/toolchain/gcc_solink_wrapper.py
|
| index 45c489d25bd8e12a886c36235b2f2e639835cd6b..79363f91a1c10389abc0845daf73effe2165e11d 100755
|
| --- a/build/toolchain/gcc_solink_wrapper.py
|
| +++ b/build/toolchain/gcc_solink_wrapper.py
|
| @@ -100,8 +100,12 @@ def main():
|
| help='Linking command')
|
| args = parser.parse_args()
|
|
|
| + # Work-around for gold being slow-by-default. http://crbug.com/632230
|
| + fast_env = dict(os.environ)
|
| + fast_env['LC_ALL'] = 'C'
|
| +
|
| # First, run the actual link.
|
| - result = subprocess.call(CommandToRun(args.command))
|
| + result = subprocess.call(CommandToRun(args.command), env=fast_env)
|
| if result != 0:
|
| return result
|
|
|
|
|