summaryrefslogtreecommitdiff
path: root/mkspecs/solaris-kcc
Side-by-side diff
Diffstat (limited to 'mkspecs/solaris-kcc') (more/less context) (show 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
@@ -29,5 +29,5 @@ 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