configure.ac: do not let llvm-config define NDEBUG in debug builds
authorMarek Olšák <maraeo@gmail.com>
Mon, 11 Jul 2011 12:33:21 +0000 (14:33 +0200)
committerMarek Olšák <maraeo@gmail.com>
Mon, 11 Jul 2011 15:32:06 +0000 (17:32 +0200)
Re-enables assertions in src/mesa.

configure.ac

index dde13c9b57d13f09de071be1dea30eb582114c28..6a5bb37e6cd0edc5af9faceff23f20208e049058 100644 (file)
@@ -1806,7 +1806,7 @@ fi
 if test "x$enable_gallium_llvm" = xyes; then
     if test "x$LLVM_CONFIG" != xno; then
        LLVM_VERSION=`$LLVM_CONFIG --version`
-       LLVM_CFLAGS=`$LLVM_CONFIG --cppflags`
+       LLVM_CFLAGS=`$LLVM_CONFIG --cppflags|sed 's/-DNDEBUG\>//g'`
        LLVM_LIBS="`$LLVM_CONFIG --libs` -lstdc++"
 
        LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags`