mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-10-19 09:09:14 +00:00
14 lines
696 B
Diff
14 lines
696 B
Diff
Index: llvm-toolchain-3.8-3.8.1/projects/compiler-rt/test/lit.common.cfg
|
|
===================================================================
|
|
--- llvm-toolchain-3.8-3.8.1.orig/projects/compiler-rt/test/lit.common.cfg
|
|
+++ llvm-toolchain-3.8-3.8.1/projects/compiler-rt/test/lit.common.cfg
|
|
@@ -120,7 +120,7 @@ def is_linux_lto_supported():
|
|
if not os.path.exists(os.path.join(config.llvm_shlib_dir, 'LLVMgold.so')):
|
|
return False
|
|
|
|
- ld_cmd = subprocess.Popen([config.gold_executable, '--help'], stdout = subprocess.PIPE)
|
|
+ ld_cmd = subprocess.Popen([config.gold_executable, '--help'], stdout = subprocess.PIPE, env={'LANG': 'C'})
|
|
ld_out = ld_cmd.stdout.read().decode()
|
|
ld_cmd.wait()
|
|
|