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:
@@ -30,7 +30,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(MESA_LLVM),1)
|
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_CXXFLAGS=`llvm-config --cxxflags` -Wno-long-long
|
||||||
LLVM_LDFLAGS = $(shell llvm-config --ldflags)
|
LLVM_LDFLAGS = $(shell llvm-config --ldflags)
|
||||||
LLVM_LIBS = $(shell llvm-config --libs)
|
LLVM_LIBS = $(shell llvm-config --libs)
|
||||||
|
Reference in New Issue
Block a user