X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=m4%2Fopenbox.m4;h=18e271788a1d969da9d7ce5380a7a33c66a4df10;hb=3167fc223ea82851ae954b348a5ff1c0ce6b6d79;hp=3216235305c26e174f092f964917a08f7961ec6a;hpb=c5b551b25a1d89a3f20599adeec6c6c6a31946e5;p=chaz%2Fopenbox diff --git a/m4/openbox.m4 b/m4/openbox.m4 index 32162353..18e27178 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 -fno-strict-aliasing" + FLAGS="$FLAGS -O0 -ggdb -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])