From: Andre Noll Date: Sat, 13 Jun 2009 17:22:51 +0000 (+0200) Subject: Deactivate gcc's strict aliasing optimizations. X-Git-Tag: v0.3.5~37 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=72794590e6271e3480a73e1e098e56dfd166dd2d;p=paraslash.git Deactivate gcc's strict aliasing optimizations. This causes a lot of warnings which are not easy to fix and probably harmless. So simply disallow gcc to assume the strictest aliasing rules. --- diff --git a/Makefile.in b/Makefile.in index d2218929..b4392a3c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -50,6 +50,7 @@ CPPFLAGS += -Wmissing-format-attribute CPPFLAGS += -Wmissing-noreturn CPPFLAGS += -Wunused-macros CPPFLAGS += -Wbad-function-cast +CPPFLAGS += -fno-strict-aliasing CPPFLAGS += -DMAIN_INPUT_FILE_IS_$(*F) CPPFLAGS += @SSL_CPPFLAGS@ CPPFLAGS += @ncurses_cppflags@