-rw-r--r-- | mkspecs/win32-borland/qmake.conf | 2 |
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 @@ -1,49 +1,49 @@ # # $Id$ # # qmake configuration for Win32/Borland C++ # MAKEFILE_GENERATOR = BMAKE 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 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS $(CXXFLAGS_EXTRA) QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG QMAKE_CXXFLAGS_MT = $$QMAKE_CFLAGS_MT QMAKE_CXXFLAGS_MT_DBG = $$QMAKE_CFLAGS_MT_DBG QMAKE_CXXFLAGS_MT_DLL = $$QMAKE_CFLAGS_MT_DLL |