summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-07-11 10:07:32 -0600
committerBrian Paul <brianp@vmware.com>2011-07-11 10:07:43 -0600
commitbe8551220cc32736165e081bafb2fa0a45a39993 (patch)
treed7985b4a6caf4d044cba2819de8324511b93920b
parenta166720f2d93b090ad1c383c9bd90d0a9e27760d (diff)
configs: do not let llvm-config define NDEBUG in debug builds
Following the examples of Marek and Jose for autoconf and scons.
-rw-r--r--configs/linux-llvm2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/linux-llvm b/configs/linux-llvm
index 54d82b5376..ef6c7bb105 100644
--- a/configs/linux-llvm
+++ b/configs/linux-llvm
@@ -30,7 +30,7 @@ else
endif
ifeq ($(MESA_LLVM),1)
- LLVM_CFLAGS=`llvm-config --cppflags`
+ LLVM_CFLAGS=`llvm-config --cppflags|sed 's/-DNDEBUG\>//g'`
LLVM_CXXFLAGS=`llvm-config --cxxflags` -Wno-long-long
LLVM_LDFLAGS = $(shell llvm-config --ldflags)
LLVM_LIBS = $(shell llvm-config --libs)