diff options
author | Brian Paul <brianp@vmware.com> | 2011-07-11 10:07:32 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-07-11 10:07:43 -0600 |
commit | be8551220cc32736165e081bafb2fa0a45a39993 (patch) | |
tree | d7985b4a6caf4d044cba2819de8324511b93920b | |
parent | a166720f2d93b090ad1c383c9bd90d0a9e27760d (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-llvm | 2 |
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) |