From 72794590e6271e3480a73e1e098e56dfd166dd2d Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 13 Jun 2009 19:22:51 +0200 Subject: [PATCH] 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. --- Makefile.in | 1 + 1 file changed, 1 insertion(+) 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@ -- 2.39.2