summaryrefslogtreecommitdiff
path: root/mkspecs/solaris-kcc/qmake.conf
Side-by-side diff
Diffstat (limited to 'mkspecs/solaris-kcc/qmake.conf') (more/less context) (ignore whitespace changes)
-rw-r--r--mkspecs/solaris-kcc/qmake.conf2
1 files changed, 1 insertions, 1 deletions
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
@@ -30,3 +30,3 @@ 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