diff options
author | Morten Sørvig <msorvig@trolltech.com> | 2009-05-08 08:33:13 (GMT) |
---|---|---|
committer | Morten Sørvig <msorvig@trolltech.com> | 2009-05-08 08:33:13 (GMT) |
commit | 04975e4a594af999600e175f65869f615f5e9740 (patch) | |
tree | 4c3b91068d213850abf505e17fe7f5fa37754842 /src/qbase.pri | |
parent | a0fd01a518362f718e44bdb0eb7653b3db5bfa22 (diff) | |
download | Qt-04975e4a594af999600e175f65869f615f5e9740.zip Qt-04975e4a594af999600e175f65869f615f5e9740.tar.gz Qt-04975e4a594af999600e175f65869f615f5e9740.tar.bz2 |
Change optimization flags from Os to O2 for OS X applications.
Qt itself was O2 from 4.2 and up, this changes it for applications as well.
Reviewed-by: nrc
Diffstat (limited to 'src/qbase.pri')
-rw-r--r-- | src/qbase.pri | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/qbase.pri b/src/qbase.pri index 9ba8e70..0ab04e6 100644 --- a/src/qbase.pri +++ b/src/qbase.pri @@ -67,11 +67,6 @@ mac:!static:contains(QT_CONFIG, qt_framework) { mac { CONFIG += explicitlib - true { #we want to use O2 on Qt itself (Os was used to fix other failures in older GCC) - QMAKE_CFLAGS_RELEASE ~= s,-Os,-O2, - QMAKE_CXXFLAGS_RELEASE ~= s,-Os,-O2, - QMAKE_OBJECTIVE_CFLAGS_RELEASE ~= s,-Os,-O2, - } macx-g++ { QMAKE_CFLAGS += -fconstant-cfstrings QMAKE_CXXFLAGS += -fconstant-cfstrings |