From: LLVM Packaging Team Date: Sat, 21 Oct 2017 11:43:31 +0000 (+0100) Subject: lit-force-lang X-Git-Tag: archive/raspbian/1%3.8.1-27+rpi1^2^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=45b3daf187aec3663aa9ec673907f7bb7f3ef100;p=llvm-toolchain-3.8.git lit-force-lang =================================================================== Gbp-Pq: Name lit-force-lang.diff --- diff --git a/compiler-rt/test/lit.common.cfg b/compiler-rt/test/lit.common.cfg index aa3fd03a..a12adfe3 100644 --- a/compiler-rt/test/lit.common.cfg +++ b/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()