Use -fno-strict-aliasing flag with gcc
This commit is contained in:
parent
7673b81a9a
commit
2bee8d8080
@ -86,6 +86,10 @@ AC_SUBST(_moo_WNAME)
|
||||
m4_undefine([_moo_WNAME])
|
||||
])
|
||||
|
||||
if $_MOO_GCC; then
|
||||
_MOO_AC_CHECK_COMPILER_OPTIONS(MOO_CFLAGS,[-fno-strict-aliasing])
|
||||
fi
|
||||
|
||||
if test "x$MOO_DEBUG" = "xyes"; then
|
||||
_moo_debug_flags="-DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED dnl
|
||||
-DGDK_DISABLE_DEPRECATED -DENABLE_DEBUG -DENABLE_PROFILE dnl
|
||||
|
Loading…
x
Reference in New Issue
Block a user