From e44cdb16632a4c904d8c43471fea1f8e790c7651 Mon Sep 17 00:00:00 2001 From: kergoth Date: Wed, 06 Nov 2002 22:45:24 +0000 Subject: allow a means of overriding CFLAGS_RELEASE, as a means of passing in optimizations --- (limited to 'mkspecs/linux-pgcc') diff --git a/mkspecs/linux-pgcc/qmake.conf b/mkspecs/linux-pgcc/qmake.conf index ddccc47..e8161ae 100644 --- a/mkspecs/linux-pgcc/qmake.conf +++ b/mkspecs/linux-pgcc/qmake.conf @@ -17,7 +17,7 @@ QMAKE_CFLAGS = $(CFLAGS_EXTRA) QMAKE_CFLAGS_DEPS = -M QMAKE_CFLAGS_WARN_ON = QMAKE_CFLAGS_WARN_OFF = -w -QMAKE_CFLAGS_RELEASE = -fast +QMAKE_CFLAGS_RELEASE = $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -fast) QMAKE_CFLAGS_DEBUG = -g QMAKE_CFLAGS_SHLIB = -fpic QMAKE_CFLAGS_YACC = -- cgit v0.9.0.2