]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/Makefile
Actually, enable NOTIFICATIONS_DEBUG by default for now, but also add cvar
[xonotic/xonotic-data.pk3dir.git] / qcsrc / Makefile
index fdd9fffff56062357fe277bca02a41131aa2c3c2..4f772589ba3eeaba45f157e742aac84a497f3b11 100644 (file)
@@ -1,7 +1,7 @@
 SCM := $(shell if [ -d .svn ]; then echo svn; elif [ -d ../.git ]; then echo git; fi)
 PERL ?= perl
 QCCFLAGS_WATERMARK ?= -DWATERMARK='"$(shell git describe)"' -DCVAR_POPCON=1
-QCC ?= fteqcc
+QCC ?= gmqcc
 
 VERSION_MESSAGE = $(shell cd server && $(QCC) --version --help)
 ifneq (,$(findstring GMQCC,$(VERSION_MESSAGE)))
@@ -11,18 +11,30 @@ QCCFLAGS ?= \
        -Werror -Wall \
        -Wno-field-redeclared \
        -Wno-double-declaration \
-       -Wno-assign-function-types \
-       -Wno-unused-variable \
+       -Wno-uninitialized-global \
        -O3 \
+       -fadjust-vector-fields \
        -fftepp \
+       -fftepp-predefs \
+       -frelaxed-switch \
+       -fshort-logic \
+       -fno-perl-logic \
        -ftranslatable-strings \
-       -fadjust-vector-fields \
-       -fassign-function-types \
+       -fno-initialized-nonconstants \
+       -fno-assign-function-types \
+       -flno \
        -fcorrect-ternary \
+       -fno-single-vector-defs \
        -fcorrect-logic \
        -ftrue-empty-strings \
-       -fshort-logic \
-       -flno \
+       -fno-false-empty-strings \
+       -futf8 \
+       -fno-bail-on-werror \
+       -floop-labels \
+       -funtyped-nil \
+       -fno-permissive \
+       -fvariadic-args \
+       -DNOTIFICATIONS_DEBUG \
        $(QCCFLAGS_EXTRA) $(QCCFLAGS_WATERMARK)
 else
 # this. is. fteqccccccccccccccccccc!