summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-12-08 06:44:42 -0700
committerBrian Paul <[email protected]>2010-12-08 06:45:00 -0700
commit7da704ee72bcbe656afd5c4f07702687a53a8d47 (patch)
treed55874ee67006f96717eb25653321804f8c53541
parentc64447f47de168e82086bc2fb483817b82e59cab (diff)
configure: use llvm-config --cppflags instead of --cflags
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 77e7603520d..bd817753050 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1558,7 +1558,7 @@ AC_ARG_ENABLE([gallium-llvm],
if test "x$enable_gallium_llvm" = xyes; then
if test "x$LLVM_CONFIG" != xno; then
LLVM_VERSION=`$LLVM_CONFIG --version`
- LLVM_CFLAGS=`$LLVM_CONFIG --cflags`
+ LLVM_CFLAGS=`$LLVM_CONFIG --cppflags`
LLVM_LIBS="`$LLVM_CONFIG --libs jit interpreter nativecodegen bitwriter` -lstdc++"
if test "x$HAS_UDIS86" != xno; then