Module: Mesa
Branch: master
Commit: be8551220cc32736165e081bafb2fa0a45a39993
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=be8551220cc32736165e081bafb2fa0a45a39993

Author: Brian Paul <[email protected]>
Date:   Mon Jul 11 10:07:32 2011 -0600

configs: do not let llvm-config define NDEBUG in debug builds

Following the examples of Marek and Jose for autoconf and scons.

---

 configs/linux-llvm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configs/linux-llvm b/configs/linux-llvm
index 54d82b5..ef6c7bb 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)

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to