llvm-toolchain/debian/patches/lit-lang.diff
Sylvestre Ledru 3cbe8146b6 * lit-lang.diff: Force the call to ld to be in english
(was failing with a french locale)
* silent-MCJIIT-tests.diff: enable some tests and silents some other
2015-02-10 14:15:48 +00:00

14 lines
629 B
Diff

Index: llvm-toolchain-snapshot_3.7~svn228604/test/lit.cfg
===================================================================
--- llvm-toolchain-snapshot_3.7~svn228604.orig/test/lit.cfg
+++ llvm-toolchain-snapshot_3.7~svn228604/test/lit.cfg
@@ -333,7 +333,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(['ld', '--help'], stdout = subprocess.PIPE)
+ ld_cmd = subprocess.Popen(['ld', '--help'], stdout = subprocess.PIPE, env={'LANG': 'C'})
ld_out = ld_cmd.stdout.read().decode()
ld_cmd.wait()