From: LLVM Packaging Team Date: Sun, 18 Jun 2017 17:12:15 +0000 (+0100) Subject: lit-force-lang X-Git-Tag: archive/raspbian/1%4.0.1-1+rpi1~4^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=433e5acda0a98711f6fa98429aa11b5197b67677;p=llvm-toolchain-4.0.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 f19fde2f8..9e0c6285c 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()