Package: llvm-toolchain-3.7 / 1:3.7.1-5

lit-lang.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: llvm-toolchain-snapshot_3.7~svn242297/test/lit.cfg
===================================================================
--- llvm-toolchain-snapshot_3.7~svn242297.orig/test/lit.cfg
+++ llvm-toolchain-snapshot_3.7~svn242297/test/lit.cfg
@@ -345,7 +345,7 @@ def have_ld_plugin_support():
     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()