X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=Makefile;h=f6a21ffe301305671fd17ea32fc945fa0f5f41c9;hp=3f286e27f6117db926fbdd051dad85abf3433644;hb=bca1a7143d234b42dd63f348b434e4be17e7c850;hpb=e8133893a0bd4e1cc469864b3d6f621ed5f3186f 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++)