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