lit-force-lang
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 15 Apr 2017 10:03:30 +0000 (10:03 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Sat, 15 Apr 2017 10:03:30 +0000 (10:03 +0000)
===================================================================

Gbp-Pq: Name lit-force-lang.diff

compiler-rt/test/lit.common.cfg

index f19fde2f89eb0b4362280cb12581a55cce6bdb15..9e0c6285c21823e3f93e366a696e28a62799c4d4 100644 (file)
@@ -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()