From 65b2a0ab085a4093a12fc9f9f4fefc1ffa1b9f00 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 16 Feb 2018 21:23:42 +0300 Subject: Add clang debug flag into configure flag --enable-glibcdebug. --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 700c742d5..c4acb8f8e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -61,8 +61,8 @@ dyecmd_CXXFLAGS += -Werror endif if ENABLE_GLIBCDEBUG -manaplus_CXXFLAGS += -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -dyecmd_CXXFLAGS += -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC +manaplus_CXXFLAGS += -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -D_LIBCPP_DEBUG=1 +dyecmd_CXXFLAGS += -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -D_LIBCPP_DEBUG=1 endif if USE_X11 -- cgit v1.2.3-70-g09d2