From 7383dea5f5d8197117709b7f3fde50aaeab97ddc Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Thu, 14 Sep 2006 22:53:58 +0000 Subject: [PATCH] use -D_GLIBCXX_DEBUG if optimize not set. --- stepmake/aclocal.m4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmake/aclocal.m4 b/stepmake/aclocal.m4 index 813b830977..4cc525ea2a 100644 --- a/stepmake/aclocal.m4 +++ b/stepmake/aclocal.m4 @@ -194,6 +194,8 @@ AC_DEFUN(STEPMAKE_COMPILE, [ AC_DEFINE(NDEBUG) DEFINES="$DEFINES -DNDEBUG" OPTIMIZE=" -O2 -finline-functions" + else + DEFINES="$DEFINES -D_GLIBCXX_DEBUG" fi if test $profile_b = yes; then -- 2.39.2