Mesa (master): configure: use llvm-config --cppflags instead of --cflags

Brian Paul brianp at kemper.freedesktop.org
Wed Dec 8 13:45:28 UTC 2010


Module: Mesa
Branch: master
Commit: 7da704ee72bcbe656afd5c4f07702687a53a8d47
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7da704ee72bcbe656afd5c4f07702687a53a8d47

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Dec  8 06:44:42 2010 -0700

configure: use llvm-config --cppflags instead of --cflags

---

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 77e7603..bd81775 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




More information about the mesa-commit mailing list