summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-02-16 21:23:42 +0300
committerAndrei Karas <akaras@inbox.ru>2018-02-16 21:23:42 +0300
commit65b2a0ab085a4093a12fc9f9f4fefc1ffa1b9f00 (patch)
tree2ac6088d2494411689d65adddd06f1f263388ed1
parenta2b4491110f8b977892e5ec22ccfcd7c0d4880e6 (diff)
downloadplus-65b2a0ab085a4093a12fc9f9f4fefc1ffa1b9f00.tar.gz
plus-65b2a0ab085a4093a12fc9f9f4fefc1ffa1b9f00.tar.bz2
plus-65b2a0ab085a4093a12fc9f9f4fefc1ffa1b9f00.tar.xz
plus-65b2a0ab085a4093a12fc9f9f4fefc1ffa1b9f00.zip
Add clang debug flag into configure flag --enable-glibcdebug.
-rw-r--r--src/Makefile.am4
1 files 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