configure: use llvm-config --cppflags instead of --cflags
This commit is contained in:
parent
c64447f47d
commit
7da704ee72
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue