From: LLVM Packaging Team Date: Wed, 26 Apr 2017 21:13:02 +0000 (+0000) Subject: lit-force-lang X-Git-Tag: archive/raspbian/1%3.9.1-9+rpi1~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c20796ad5004e9c3d3daf9971f1dbd5c59723e4a;p=llvm-toolchain-3.9.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 f19fde2f..9e0c6285 100644 --- a/compiler-rt/test/lit.common.cfg +++ b/compiler-rt/test/lit.common.cfg @@ -148,7 +148,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()