summaryrefslogtreecommitdiff
path: root/mkspecs/hpux-acc
Side-by-side diff
Diffstat (limited to 'mkspecs/hpux-acc') (more/less context) (show whitespace changes)
-rw-r--r--mkspecs/hpux-acc/qmake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/hpux-acc/qmake.conf b/mkspecs/hpux-acc/qmake.conf
index 5990aa7..26eca39 100644
--- a/mkspecs/hpux-acc/qmake.conf
+++ b/mkspecs/hpux-acc/qmake.conf
@@ -38,7 +38,7 @@ QMAKE_YACCFLAGS = -d
QMAKE_CFLAGS = -Ae +DAportable -w +Z $(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 =
QMAKE_CFLAGS_YACC =