From: Brian Paul Date: Mon, 11 Jul 2011 16:07:32 +0000 (-0600) Subject: configs: do not let llvm-config define NDEBUG in debug builds X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be8551220cc32736165e081bafb2fa0a45a39993;p=mesa.git configs: do not let llvm-config define NDEBUG in debug builds Following the examples of Marek and Jose for autoconf and scons. --- diff --git a/configs/linux-llvm b/configs/linux-llvm index 54d82b5376c..ef6c7bb105a 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)