summaryrefslogtreecommitdiff
path: root/mkspecs/unixware-cc
Side-by-side diff
Diffstat (limited to 'mkspecs/unixware-cc') (more/less context) (ignore whitespace changes)
-rw-r--r--mkspecs/unixware-cc/qmake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/unixware-cc/qmake.conf b/mkspecs/unixware-cc/qmake.conf
index 46b4657..e2e73fe 100644
--- a/mkspecs/unixware-cc/qmake.conf
+++ b/mkspecs/unixware-cc/qmake.conf
@@ -20,5 +20,5 @@ QMAKE_CFLAGS = $(CFLAGS_EXTRA)
QMAKE_CFLAGS_WARN_ON =
QMAKE_CFLAGS_WARN_OFF = -w
-QMAKE_CFLAGS_RELEASE = -O
+QMAKE_CFLAGS_RELEASE = $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O)
QMAKE_CFLAGS_DEBUG = -g
QMAKE_CFLAGS_SHLIB = -KPIC