From 14774c52056632804f52ae00a723c8bc0755c2e9 Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Fri, 2 Jun 2017 13:14:18 +0000 Subject: [PATCH] lit-force-lang =================================================================== Gbp-Pq: Name lit-force-lang.diff --- compiler-rt/test/lit.common.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.30.2