1
0
forked from rpms/mesa
mesa/mesa-7.10-llvmcore.patch

13 lines
610 B
Diff
Raw Normal View History

2012-01-05 19:56:38 +00:00
diff -up mesa-20120105/configure.ac.jx mesa-20120105/configure.ac
--- mesa-20120105/configure.ac.jx 2012-01-05 14:03:26.000000000 -0500
+++ mesa-20120105/configure.ac 2012-01-05 14:35:14.559990582 -0500
@@ -1775,7 +1775,7 @@ if test "x$enable_gallium_llvm" = xyes;
2011-01-19 03:36:41 +00:00
if test "x$LLVM_CONFIG" != xno; then
LLVM_VERSION=`$LLVM_CONFIG --version`
2012-01-05 19:56:38 +00:00
LLVM_CFLAGS=`$LLVM_CONFIG --cppflags|sed -e 's/-DNDEBUG\>//g' -e 's/-pedantic//g'`
2011-11-14 16:21:07 +00:00
- LLVM_LIBS="`$LLVM_CONFIG --libs`"
2011-11-14 17:01:40 +00:00
+ LLVM_LIBS="-lLLVM-`llvm-config --version` -lstdc++"
2011-01-19 03:36:41 +00:00
LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags`
2011-11-14 16:21:07 +00:00
DEFINES="$DEFINES -D__STDC_CONSTANT_MACROS"