X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=m4%2Fopenbox.m4;h=29114360f3608e2433bf16797a9b054a302e497f;hb=232817b395ca19dd26af78a629a9e2f601953e6a;hp=a69a093d3eb71a5c51af4caf68bff372dd3ee0c9;hpb=c4dc6e231dab908b7765d0063f8ec4e41eff55e5;p=chaz%2Fopenbox diff --git a/m4/openbox.m4 b/m4/openbox.m4 index a69a093d..29114360 100644 --- a/m4/openbox.m4 +++ b/m4/openbox.m4 @@ -64,7 +64,7 @@ AC_DEFUN([OB_COMPILER_FLAGS], if test "$GCC" = "yes"; then AC_MSG_RESULT([yes]) if test "$DEBUG" = "yes"; then - FLAGS="$FLAGS -g -fno-inline" + FLAGS="$FLAGS -O0 -g3 -fno-inline -Wwrite-strings" FLAGS="$FLAGS -Wall -Wsign-compare -Waggregate-return" FLAGS="$FLAGS -Wcast-qual -Wbad-function-cast -Wpointer-arith" # for Python.h @@ -73,6 +73,7 @@ AC_DEFUN([OB_COMPILER_FLAGS], if test "$STRICT" = "yes"; then FLAGS="$FLAGS -ansi -pedantic -D_XOPEN_SOURCE" fi + FLAGS="$FLAGS -fno-strict-aliasing" fi AC_MSG_CHECKING([for compiler specific flags]) AC_MSG_RESULT([$FLAGS])