X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=Makefile;h=f6a21ffe301305671fd17ea32fc945fa0f5f41c9;hb=463426ad47b15c9ae6ac38df0fc308477e3b2ccf;hp=3f286e27f6117db926fbdd051dad85abf3433644;hpb=90533079c873b31458a272ed4b7ffc90c593e1f5;p=xonotic%2Fgmqcc.git diff --git a/Makefile b/Makefile index 3f286e2..f6a21ff 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,7 @@ UNAME ?= $(shell uname) CYGWIN = $(findstring CYGWIN, $(UNAME)) MINGW = $(findstring MINGW, $(UNAME)) -CFLAGS += -Wall -Wextra -Werror -Wstrict-aliasing -Wno-attributes -#turn on tons of warnings if clang is present +# turn on tons of warnings if clang is present # but also turn off the STUPID ONES ifeq ($(CC), clang) CFLAGS += \ @@ -17,6 +16,7 @@ ifeq ($(CC), clang) -Wno-float-equal \ -Wno-unknown-warning-option \ -Wno-cast-align \ + -Wno-assign-enum \ -pedantic-errors else ifneq ($(CC), g++)