From: Rudolf Polzer Date: Wed, 19 Dec 2012 16:28:41 +0000 (+0100) Subject: write compiler options more explicitly X-Git-Tag: xonotic-v0.7.0~168 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=97dd8b350329cfdcd1e06a620af3bccda3168eb4;p=xonotic%2Fxonotic-data.pk3dir.git write compiler options more explicitly --- diff --git a/qcsrc/Makefile b/qcsrc/Makefile index 2266cc8e6..69e3105e3 100644 --- a/qcsrc/Makefile +++ b/qcsrc/Makefile @@ -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)