From 97dd8b350329cfdcd1e06a620af3bccda3168eb4 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 19 Dec 2012 17:28:41 +0100 Subject: [PATCH] write compiler options more explicitly --- qcsrc/Makefile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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) -- 2.39.2