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

Following the examples of Marek and Jose for autoconf and scons.
This commit is contained in:
Brian Paul
2011-07-11 10:07:32 -06:00
parent a166720f2d
commit be8551220c

View File

@@ -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)