From: Dale Weiler Date: Wed, 14 Aug 2013 10:16:04 +0000 (+0000) Subject: Perform some strict aliasing all over this biatch. We ain't trippin on code that... X-Git-Tag: v0.3.0~20 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ade8626df710fa165fea9de68c57710c604d0090;p=xonotic%2Fgmqcc.git Perform some strict aliasing all over this biatch. We ain't trippin on code that breaks it. --- diff --git a/Makefile b/Makefile index e6ff4be..82cef3a 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ UNAME ?= $(shell uname) CYGWIN = $(findstring CYGWIN, $(UNAME)) MINGW = $(findstring MINGW32, $(UNAME)) -CFLAGS += -O3 -Wall -Wextra -Werror -fno-strict-aliasing $(OPTIONAL) +CFLAGS += -O3 -Wall -Wextra -Wstrict-aliasing -Werror $(OPTIONAL) ifneq ($(shell git describe --always 2>/dev/null),) CFLAGS += -DGMQCC_GITINFO="\"$(shell git describe --always)\"" endif