summaryrefslogtreecommitdiff
path: root/mkspecs/aix-xlc
Side-by-side diff
Diffstat (limited to 'mkspecs/aix-xlc') (more/less context) (ignore whitespace changes)
-rw-r--r--mkspecs/aix-xlc/qmake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/aix-xlc/qmake.conf b/mkspecs/aix-xlc/qmake.conf
index c74459d..6e17b4a 100644
--- a/mkspecs/aix-xlc/qmake.conf
+++ b/mkspecs/aix-xlc/qmake.conf
@@ -17,7 +17,7 @@ QMAKE_YACCFLAGS = -d
QMAKE_CFLAGS = -qstrict $(CFLAGS_EXTRA)
QMAKE_CFLAGS_WARN_ON =
QMAKE_CFLAGS_WARN_OFF =
-QMAKE_CFLAGS_RELEASE = -O3
+QMAKE_CFLAGS_RELEASE = $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O3)
QMAKE_CFLAGS_DEBUG = -g
QMAKE_CFLAGS_SHLIB =
QMAKE_CFLAGS_YACC =