]> Dogcows Code - chaz/openbox/blobdiff - m4/openbox.m4
add -fno-strict-aliasing to the gcc compiler flags. this is needed, see:
[chaz/openbox] / m4 / openbox.m4
index a69a093d3eb71a5c51af4caf68bff372dd3ee0c9..3216235305c26e174f092f964917a08f7961ec6a 100644 (file)
@@ -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 -g -fno-inline -fno-strict-aliasing"
            FLAGS="$FLAGS -Wall -Wsign-compare -Waggregate-return"
            FLAGS="$FLAGS -Wcast-qual -Wbad-function-cast -Wpointer-arith"
             # for Python.h
This page took 0.020231 seconds and 4 git commands to generate.