summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-07-11 14:33:21 +0200
committerMarek Olšák <maraeo@gmail.com>2011-07-11 17:32:06 +0200
commitbe039d296d2deeb6dbdc4cdb85c203051488482c (patch)
tree27428d0592cc727adfa9c39b1ed36065f4da0df9 /configure.ac
parentacf82194ce4383308d1e8939d1778594bf5547c5 (diff)
configure.ac: do not let llvm-config define NDEBUG in debug builds
Re-enables assertions in src/mesa.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index dde13c9b57..6a5bb37e6c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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`