]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/Makefile
fix uninitialized globals
[xonotic/xonotic-data.pk3dir.git] / qcsrc / Makefile
index d90ce997b1614e155fcf5356202d050dc4156d7b..9fa80f8f884b8f215c249e0e9ce64a1d0f4a7a80 100644 (file)
@@ -7,22 +7,32 @@ VERSION_MESSAGE = $(shell cd server && $(QCC) --version --help)
 ifneq (,$(findstring GMQCC,$(VERSION_MESSAGE)))
 # this is gmqcc
 QCCFLAGS ?= \
-       -std=gmqcc \
+       -std=fteqcc \
        -Werror -Wall \
        -Wno-field-redeclared \
        -Wno-double-declaration \
        -Wno-uninitialized-global \
        -O3 \
+       -fadjust-vector-fields \
        -fftepp \
+       -fftepp-predefs \
+       -frelaxed-switch \
+       -fshort-logic \
+       -fno-perl-logic \
        -ftranslatable-strings \
-       -fadjust-vector-fields \
+       -fno-initialized-nonconstants \
        -fno-assign-function-types \
+       -flno \
        -fcorrect-ternary \
+       -fno-single-vector-defs \
        -fcorrect-logic \
        -ftrue-empty-strings \
+       -fno-false-empty-strings \
+       -futf8 \
+       -fno-bail-on-werror \
+       -floop-labels \
        -funtyped-nil \
-       -fshort-logic \
-       -flno \
+       -fno-permissive \
        $(QCCFLAGS_EXTRA) $(QCCFLAGS_WATERMARK)
 else
 # this. is. fteqccccccccccccccccccc!