X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=m4%2Fopenbox.m4;h=f4ef76fa9048d01a2a2506e1732af41b8b0919a0;hb=747c089ae1c7df345c7ad98f833e8640ab0bc851;hp=12c5c8ec387a5b4839c1e975aa906ccbef11bfea;hpb=6741d0572d003667374d9f77e1a9619a28e7362b;p=chaz%2Fopenbox diff --git a/m4/openbox.m4 b/m4/openbox.m4 index 12c5c8ec..f4ef76fa 100644 --- a/m4/openbox.m4 +++ b/m4/openbox.m4 @@ -19,7 +19,8 @@ AC_DEFUN([OB_DEBUG], AC_DEFINE([DEBUG], [1], [Creating a debug build]) else AC_MSG_RESULT([RELEASE]) - AC_DEFINE([NDEBUG], [1], [Creating a release build]) +# keep the asserts in +# AC_DEFINE([NDEBUG], [1], [Creating a release build]) fi ]) @@ -40,7 +41,7 @@ AC_DEFUN([OB_COMPILER_FLAGS], AC_MSG_CHECKING([for GNU C++]) if test "$GXX" = "yes"; then AC_MSG_RESULT([yes]) - FLAGS="-Wall -W" + FLAGS="-Wall -W -fno-check-new -fno-exceptions" # -pedantic test "$DEBUG" = "yes" && FLAGS="$FLAGS -g -fno-inline" else