]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
write compiler options more explicitly
authorRudolf Polzer <divverent@xonotic.org>
Wed, 19 Dec 2012 16:28:41 +0000 (17:28 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 19 Dec 2012 16:28:41 +0000 (17:28 +0100)
qcsrc/Makefile

index 2266cc8e64be3e5fe8f885006b7a68251f3f9823..69e3105e3afaced874db4b91b4cdca5a933b8e31 100644 (file)
@@ -6,7 +6,22 @@ QCC ?= fteqcc
 VERSION_MESSAGE = $(shell $(QCC) --version --help)
 ifneq (,$(findstring GMQCC,$(VERSION_MESSAGE)))
 # this is gmqcc
-QCCFLAGS ?= -Werror -Wall -Wno-field-redeclared -Wno-double-declaration -Wno-assign-function-types -Wno-unused-variable -std=fteqcc -O3 -fshort-logic -ftranslatable-strings -flno $(QCCFLAGS_EXTRA) $(QCCFLAGS_WATERMARK)
+QCCFLAGS ?= \
+       -std=fteqcc \
+       -Werror -Wall \
+       -Wno-field-redeclared \
+       -Wno-double-declaration \
+       -Wno-assign-function-types \
+       -Wno-unused-variable \
+       -O3 \
+       -fftepp \
+       -ftranslatable-strings \
+       -fadjust-vector-fields \
+       -fassign-function-types \
+       -fcorrect-ternary \
+       -fshort-logic \
+       -flno \
+       $(QCCFLAGS_EXTRA) $(QCCFLAGS_WATERMARK)
 else
 # this. is. fteqccccccccccccccccccc!
 QCCFLAGS ?= -Werror -Wno-Q302 -O3 -Ono-return_only -fno-fastarrays $(QCCFLAGS_EXTRA) $(QCCFLAGS_WATERMARK)