Show more debug info with --enable-debug

This commit is contained in:
Alexey Sokolov
2012-01-01 16:45:45 +07:00
parent 6443563bd5
commit 0260558155

View File

@@ -151,7 +151,7 @@ AC_ARG_ENABLE( [poll],
[POLL="yes"])
if test "$DEBUG" != "no"; then
appendCXX -ggdb
appendCXX -ggdb3
AC_DEFINE([_DEBUG], [1], [Define for debugging])
# These enable some debug options in g++'s STL, e.g. invalid use of iterators
AC_DEFINE([_GLIBCXX_DEBUG], [1], [Enable extra debugging checks in libstdc++])