From: ojab Date: Mon, 30 Jan 2012 08:34:46 +0000 (+0400) Subject: Use only native engine & bitwriter LLVM libraries for linking. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=25ee5a27f30aaeb83232de9bada82534d2d504fc;p=mesa.git Use only native engine & bitwriter LLVM libraries for linking. Signed-off-by: José Fonseca --- diff --git a/configure.ac b/configure.ac index 06d400f159e..df9f88049c7 100644 --- a/configure.ac +++ b/configure.ac @@ -1747,7 +1747,7 @@ if test "x$enable_gallium_llvm" = xyes; then if test "x$LLVM_CONFIG" != xno; then LLVM_VERSION=`$LLVM_CONFIG --version | sed 's/svn.*//g'` LLVM_CFLAGS=`$LLVM_CONFIG --cppflags|sed -e 's/-DNDEBUG\>//g' -e 's/-pedantic//g'` - LLVM_LIBS="`$LLVM_CONFIG --libs`" + LLVM_LIBS="`$LLVM_CONFIG --libs engine bitwriter`" LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags` DEFINES="$DEFINES -D__STDC_CONSTANT_MACROS" diff --git a/scons/llvm.py b/scons/llvm.py index 57fe922d0ae..916b040b0f4 100644 --- a/scons/llvm.py +++ b/scons/llvm.py @@ -166,7 +166,7 @@ def generate(env): pass env.MergeFlags(cppflags) - env.ParseConfig('llvm-config --libs') + env.ParseConfig('llvm-config --libs engine bitwriter') env.ParseConfig('llvm-config --ldflags') except OSError: print 'scons: llvm-config version %s failed' % llvm_version