[Libclc-dev] [PATCH] Fix for llvm-config's new --system-libs
Mike Lothian
mike at fireburn.co.uk
Mon Dec 23 13:16:13 PST 2013
Hi
I'm not sure if I need to check for version 3.5 first but this makes libclc
compile for me
--- a/configure.py 2013-12-23 20:54:47.072228588 +0000
+++ b/configure.py 2013-12-23 20:55:32.040228747 +0000
@@ -64,7 +64,8 @@
llvm_bindir = llvm_config(['--bindir'])
llvm_core_libs = llvm_config(['--libs', 'core', 'bitreader', 'bitwriter'])
+ ' ' + \
- llvm_config(['--ldflags'])
+ llvm_config(['--ldflags']) + ' ' + \
+ llvm_config(['--system-libs'])
llvm_cxxflags = llvm_config(['--cxxflags']) + ' -fno-exceptions -fno-rtti'
llvm_clang = os.path.join(llvm_bindir, 'clang')
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libclc-dev/attachments/20131223/216e4d8d/attachment-0001.html>
More information about the Libclc-dev
mailing list