summaryrefslogtreecommitdiff
path: root/mkspecs/win32-watcom
authorkergoth <kergoth>2002-11-06 22:45:24 (UTC)
committer kergoth <kergoth>2002-11-06 22:45:24 (UTC)
commite44cdb16632a4c904d8c43471fea1f8e790c7651 (patch) (side-by-side diff)
tree6533f63c234a24959587aa49de0934f7b35ce26f /mkspecs/win32-watcom
parent86a2bf4747f46a9915dffac376b888faa5400ec8 (diff)
downloadopie-e44cdb16632a4c904d8c43471fea1f8e790c7651.zip
opie-e44cdb16632a4c904d8c43471fea1f8e790c7651.tar.gz
opie-e44cdb16632a4c904d8c43471fea1f8e790c7651.tar.bz2
allow a means of overriding CFLAGS_RELEASE, as a means of passing in optimizations
Diffstat (limited to 'mkspecs/win32-watcom') (more/less context) (ignore whitespace changes)
-rw-r--r--mkspecs/win32-watcom/qmake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/win32-watcom/qmake.conf b/mkspecs/win32-watcom/qmake.conf
index dd3a71d..1c4760f 100644
--- a/mkspecs/win32-watcom/qmake.conf
+++ b/mkspecs/win32-watcom/qmake.conf
@@ -14,9 +14,9 @@ QMAKE_YACC = byacc
QMAKE_YACCFLAGS = -d
QMAKE_CFLAGS = -zq $(CFLAGS_EXTRA)
QMAKE_CFLAGS_WARN_ON = -w2
QMAKE_CFLAGS_WARN_OFF = -w0
-QMAKE_CFLAGS_RELEASE = -ox
+QMAKE_CFLAGS_RELEASE = $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -ox)
QMAKE_CFLAGS_DEBUG = -d2
QMAKE_CFLAGS_YACC =
QMAKE_CXX = $$QMAKE_CC