adding -fno-strict-aliasing

This commit is contained in:
Wolfgang Bumiller 2012-12-26 19:58:53 +01:00
parent 365fe400b0
commit 33c7707f56

View file

@ -9,7 +9,7 @@ CYGWIN = $(findstring CYGWIN, $(UNAME))
MINGW = $(findstring MINGW32, $(UNAME))
CC ?= clang
CFLAGS += -Wall -Wextra -I. -pedantic-errors
CFLAGS += -Wall -Wextra -I. -pedantic-errors -fno-strict-aliasing
#turn on tons of warnings if clang is present
# but also turn off the STUPID ONES
ifeq ($(CC), clang)