configure: use llvm-config --cppflags instead of --cflags
authorBrian Paul <brianp@vmware.com>
Wed, 8 Dec 2010 13:44:42 +0000 (06:44 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 8 Dec 2010 13:45:00 +0000 (06:45 -0700)
configure.ac

index 77e7603520d3c4de739def1e631bdf4a126c475b..bd817753050d7c12313ca3808093e40df364e6a7 100644 (file)
@@ -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