From bf517943387f364ad7b11854d803a84612f8cf60 Mon Sep 17 00:00:00 2001 From: MadCamel Date: Wed, 30 Sep 2009 13:42:54 -0400 Subject: Added -fno-strict-aliasing to CFLAGS This will likely fix a few minor weirdnesses, and compiler warnings. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 08e54f4..40abc74 100644 --- a/Makefile +++ b/Makefile @@ -18,10 +18,10 @@ OPT = -g -O2 ${M32} ifeq ($(findstring CYGWIN,$(PLATFORM)), CYGWIN) OS_TYPE = -DCYGWIN -CFLAGS = $(OPT) -Wall -DFD_SETSIZE=4096 -I../common $(PACKETDEF) $(OS_TYPE) +CFLAGS = $(OPT) -Wall -fno-strict-aliasing -DFD_SETSIZE=4096 -I../common $(PACKETDEF) $(OS_TYPE) else OS_TYPE = -CFLAGS = $(OPT) -Wall -Wno-pointer-sign -I../common $(PACKETDEF) $(OS_TYPE) +CFLAGS = $(OPT) -Wall -fno-strict-aliasing -Wno-pointer-sign -I../common $(PACKETDEF) $(OS_TYPE) endif MKDEF = CC="$(CC)" CFLAGS="$(CFLAGS)" -- cgit v1.2.3-60-g2f50