summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMadCamel <madcamel@gmail.com>2009-09-30 13:42:54 -0400
committerMadCamel <madcamel@gmail.com>2009-09-30 13:50:33 -0400
commit765c84f370747e35902757b6771368009ae2a8f6 (patch)
tree5a2d64474535e6717cc8f186ff684618da00f1b1 /Makefile
parentb396c9ae5d7fab3e13cff70e2a8ebc080aeeb472 (diff)
downloadtmwa-765c84f370747e35902757b6771368009ae2a8f6.tar.gz
tmwa-765c84f370747e35902757b6771368009ae2a8f6.tar.bz2
tmwa-765c84f370747e35902757b6771368009ae2a8f6.tar.xz
tmwa-765c84f370747e35902757b6771368009ae2a8f6.zip
Added -fno-strict-aliasing to CFLAGS This will likely fix a few minor weirdnesses, and compiler warnings.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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)"