summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-10-15 06:38:48 -0600
committerJared Adams <jaxad0127@gmail.com>2009-10-15 06:38:48 -0600
commitd6dbf554bd866124b7c676187c351c3f67fd3906 (patch)
tree2301dbf20ee0994963ccebfd1c5f7fd73e08a200 /Makefile
parenta11a55e91bd25f52eac46a99f4c906e773245046 (diff)
parent29844ce5e2cd043551b46c1cd7bf3a36e357e3c6 (diff)
downloadtmwa-d6dbf554bd866124b7c676187c351c3f67fd3906.tar.gz
tmwa-d6dbf554bd866124b7c676187c351c3f67fd3906.tar.bz2
tmwa-d6dbf554bd866124b7c676187c351c3f67fd3906.tar.xz
tmwa-d6dbf554bd866124b7c676187c351c3f67fd3906.zip
Merge remote branch 'taw/master'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 08e54f4..a697e4f 100644
--- a/Makefile
+++ b/Makefile
@@ -14,14 +14,14 @@ else
MAKE = make
endif
-OPT = -g -O2 ${M32}
+OPT = -g -fno-strict-aliasing -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)"