From: Marek Olšák Date: Mon, 11 Jul 2011 12:33:21 +0000 (+0200) Subject: configure.ac: do not let llvm-config define NDEBUG in debug builds X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be039d296d2deeb6dbdc4cdb85c203051488482c;p=mesa.git configure.ac: do not let llvm-config define NDEBUG in debug builds Re-enables assertions in src/mesa. --- diff --git a/configure.ac b/configure.ac index dde13c9b57d..6a5bb37e6cd 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`