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/solaris-kcc') diff --git a/mkspecs/solaris-kcc/qmake.conf b/mkspecs/solaris-kcc/qmake.conf index e1c3052..2c325e8 100644 --- a/mkspecs/solaris-kcc/qmake.conf +++ b/mkspecs/solaris-kcc/qmake.conf @@ -28,7 +28,7 @@ QMAKE_CFLAGS = --c --display_error_number $(CFLAGS_EXTRA) QMAKE_CFLAGS_DEPS = -M QMAKE_CFLAGS_WARN_ON = QMAKE_CFLAGS_WARN_OFF = -w -QMAKE_CFLAGS_RELEASE = +K2 +QMAKE_CFLAGS_RELEASE = $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), +K2) QMAKE_CFLAGS_DEBUG = +K0 QMAKE_CFLAGS_SHLIB = -KPIC QMAKE_CFLAGS_YACC = --diag_suppress 111,177 -- cgit v0.9.0.2