summaryrefslogtreecommitdiff
path: root/mkspecs/hpux-cc
Side-by-side diff
Diffstat (limited to 'mkspecs/hpux-cc') (more/less context) (ignore whitespace changes)
-rw-r--r--mkspecs/hpux-cc/qmake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/hpux-cc/qmake.conf b/mkspecs/hpux-cc/qmake.conf
index 56e9057..d522252 100644
--- a/mkspecs/hpux-cc/qmake.conf
+++ b/mkspecs/hpux-cc/qmake.conf
@@ -39,7 +39,7 @@ QMAKE_YACCFLAGS = -d
QMAKE_CFLAGS = -Ae +DA1.1e -w $(CFLAGS_EXTRA)
QMAKE_CFLAGS_WARN_ON =
QMAKE_CFLAGS_WARN_OFF =
-QMAKE_CFLAGS_RELEASE = -O
+QMAKE_CFLAGS_RELEASE = $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O)
QMAKE_CFLAGS_DEBUG = -g
QMAKE_CFLAGS_SHLIB = +Z
QMAKE_CFLAGS_YACC =