]> git.tue.mpg.de Git - paraslash.git/commitdiff
Deactivate gcc's strict aliasing optimizations.
authorAndre Noll <maan@systemlinux.org>
Sat, 13 Jun 2009 17:22:51 +0000 (19:22 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 13 Jun 2009 17:22:51 +0000 (19:22 +0200)
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.

Makefile.in

index d2218929b32a9b0b62c84952013f041b469ceb8b..b4392a3c63a8bddca224300b00c2e5d9de5a6177 100644 (file)
@@ -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@