summaryrefslogtreecommitdiff
path: root/mkspecs/win32-borland/qmake.conf
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-borland/qmake.conf
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-borland/qmake.conf') (more/less context) (ignore whitespace changes)
-rw-r--r--mkspecs/win32-borland/qmake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/win32-borland/qmake.conf b/mkspecs/win32-borland/qmake.conf
index c7b8229..a6339b9 100644
--- a/mkspecs/win32-borland/qmake.conf
+++ b/mkspecs/win32-borland/qmake.conf
@@ -9,33 +9,33 @@ TEMPLATE = app
CONFIG += qt warn_on release
DEFINES += UNICODE
QMAKE_NOFORCE = 1
exists( $(QTDIR)\.qtwinconfig ) {
include( $(QTDIR)\.qtwinconfig )
}
QMAKE_CC = bcc32
QMAKE_LEX = flex
QMAKE_LEXFLAGS =
QMAKE_YACC = byacc
QMAKE_YACCFLAGS = -d
QMAKE_CFLAGS = -tWR $(CFLAGS_EXTRA)
QMAKE_CFLAGS_WARN_ON = -w -w-hid
QMAKE_CFLAGS_WARN_OFF = -w-
-QMAKE_CFLAGS_RELEASE = -O2
+QMAKE_CFLAGS_RELEASE = $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O2)
QMAKE_CFLAGS_DEBUG = -v
QMAKE_CFLAGS_MT = -tWM
QMAKE_CFLAGS_MT_DBG = -tWM
QMAKE_CFLAGS_MT_DLL = -tWM
QMAKE_CFLAGS_MT_DLLDBG = -tWM
QMAKE_CFLAGS_YACC =
QMAKE_CFLAGS_CONSOLE = -tWC
!contains(CONFIG,exceptions){
QMAKE_CFLAGS += -x-
}
!contains(CONFIG,rtti){
QMAKE_CFLAGS += -RT- $(CFLAGS_EXTRA)
}
QMAKE_CXX = $$QMAKE_CC