author | kergoth <kergoth> | 2002-11-06 22:45:24 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-11-06 22:45:24 (UTC) |
commit | e44cdb16632a4c904d8c43471fea1f8e790c7651 (patch) (unidiff) | |
tree | 6533f63c234a24959587aa49de0934f7b35ce26f /mkspecs/win32-borland | |
parent | 86a2bf4747f46a9915dffac376b888faa5400ec8 (diff) | |
download | opie-e44cdb16632a4c904d8c43471fea1f8e790c7651.zip opie-e44cdb16632a4c904d8c43471fea1f8e790c7651.tar.gz opie-e44cdb16632a4c904d8c43471fea1f8e790c7651.tar.bz2 |
allow a means of overriding CFLAGS_RELEASE, as a means of passing in optimizations
-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 @@ | |||
1 | # | 1 | # |
2 | # $Id$ | 2 | # $Id$ |
3 | # | 3 | # |
4 | # qmake configuration for Win32/Borland C++ | 4 | # qmake configuration for Win32/Borland C++ |
5 | # | 5 | # |
6 | 6 | ||
7 | MAKEFILE_GENERATOR= BMAKE | 7 | MAKEFILE_GENERATOR= BMAKE |
8 | TEMPLATE = app | 8 | TEMPLATE = app |
9 | CONFIG += qt warn_on release | 9 | CONFIG += qt warn_on release |
10 | DEFINES += UNICODE | 10 | DEFINES += UNICODE |
11 | QMAKE_NOFORCE = 1 | 11 | QMAKE_NOFORCE = 1 |
12 | 12 | ||
13 | exists( $(QTDIR)\.qtwinconfig ) { | 13 | exists( $(QTDIR)\.qtwinconfig ) { |
14 | include( $(QTDIR)\.qtwinconfig ) | 14 | include( $(QTDIR)\.qtwinconfig ) |
15 | } | 15 | } |
16 | 16 | ||
17 | QMAKE_CC = bcc32 | 17 | QMAKE_CC = bcc32 |
18 | QMAKE_LEX = flex | 18 | QMAKE_LEX = flex |
19 | QMAKE_LEXFLAGS = | 19 | QMAKE_LEXFLAGS = |
20 | QMAKE_YACC = byacc | 20 | QMAKE_YACC = byacc |
21 | QMAKE_YACCFLAGS = -d | 21 | QMAKE_YACCFLAGS = -d |
22 | QMAKE_CFLAGS = -tWR $(CFLAGS_EXTRA) | 22 | QMAKE_CFLAGS = -tWR $(CFLAGS_EXTRA) |
23 | QMAKE_CFLAGS_WARN_ON= -w -w-hid | 23 | QMAKE_CFLAGS_WARN_ON= -w -w-hid |
24 | QMAKE_CFLAGS_WARN_OFF= -w- | 24 | QMAKE_CFLAGS_WARN_OFF= -w- |
25 | QMAKE_CFLAGS_RELEASE= -O2 | 25 | QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O2) |
26 | QMAKE_CFLAGS_DEBUG= -v | 26 | QMAKE_CFLAGS_DEBUG= -v |
27 | QMAKE_CFLAGS_MT = -tWM | 27 | QMAKE_CFLAGS_MT = -tWM |
28 | QMAKE_CFLAGS_MT_DBG= -tWM | 28 | QMAKE_CFLAGS_MT_DBG= -tWM |
29 | QMAKE_CFLAGS_MT_DLL= -tWM | 29 | QMAKE_CFLAGS_MT_DLL= -tWM |
30 | QMAKE_CFLAGS_MT_DLLDBG= -tWM | 30 | QMAKE_CFLAGS_MT_DLLDBG= -tWM |
31 | QMAKE_CFLAGS_YACC= | 31 | QMAKE_CFLAGS_YACC= |
32 | QMAKE_CFLAGS_CONSOLE= -tWC | 32 | QMAKE_CFLAGS_CONSOLE= -tWC |
33 | 33 | ||
34 | !contains(CONFIG,exceptions){ | 34 | !contains(CONFIG,exceptions){ |
35 | QMAKE_CFLAGS += -x- | 35 | QMAKE_CFLAGS += -x- |
36 | } | 36 | } |
37 | !contains(CONFIG,rtti){ | 37 | !contains(CONFIG,rtti){ |
38 | QMAKE_CFLAGS+= -RT- $(CFLAGS_EXTRA) | 38 | QMAKE_CFLAGS+= -RT- $(CFLAGS_EXTRA) |
39 | } | 39 | } |
40 | 40 | ||
41 | QMAKE_CXX = $$QMAKE_CC | 41 | QMAKE_CXX = $$QMAKE_CC |
42 | QMAKE_CXXFLAGS = $$QMAKE_CFLAGS $(CXXFLAGS_EXTRA) | 42 | QMAKE_CXXFLAGS = $$QMAKE_CFLAGS $(CXXFLAGS_EXTRA) |
43 | QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON | 43 | QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON |
44 | QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF | 44 | QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF |
45 | QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE | 45 | QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE |
46 | QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG | 46 | QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG |
47 | QMAKE_CXXFLAGS_MT= $$QMAKE_CFLAGS_MT | 47 | QMAKE_CXXFLAGS_MT= $$QMAKE_CFLAGS_MT |
48 | QMAKE_CXXFLAGS_MT_DBG= $$QMAKE_CFLAGS_MT_DBG | 48 | QMAKE_CXXFLAGS_MT_DBG= $$QMAKE_CFLAGS_MT_DBG |
49 | QMAKE_CXXFLAGS_MT_DLL= $$QMAKE_CFLAGS_MT_DLL | 49 | QMAKE_CXXFLAGS_MT_DLL= $$QMAKE_CFLAGS_MT_DLL |