summaryrefslogtreecommitdiffstats
path: root/mkspecs/common
diff options
context:
space:
mode:
authorMorten Sørvig <msorvig@trolltech.com>2009-05-08 08:33:13 (GMT)
committerMorten Sørvig <msorvig@trolltech.com>2009-05-08 08:33:13 (GMT)
commit04975e4a594af999600e175f65869f615f5e9740 (patch)
tree4c3b91068d213850abf505e17fe7f5fa37754842 /mkspecs/common
parenta0fd01a518362f718e44bdb0eb7653b3db5bfa22 (diff)
downloadQt-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 'mkspecs/common')
-rw-r--r--mkspecs/common/mac-g++.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/common/mac-g++.conf b/mkspecs/common/mac-g++.conf
index b764b26..287f115 100644
--- a/mkspecs/common/mac-g++.conf
+++ b/mkspecs/common/mac-g++.conf
@@ -9,7 +9,7 @@ QMAKE_CFLAGS += -pipe
QMAKE_CFLAGS_DEPS += -M
QMAKE_CFLAGS_WARN_ON += -Wall -W
QMAKE_CFLAGS_WARN_OFF += -w
-QMAKE_CFLAGS_RELEASE += -Os
+QMAKE_CFLAGS_RELEASE += -O2
QMAKE_CFLAGS_DEBUG += -g
QMAKE_CFLAGS_SHLIB += -fPIC
QMAKE_CFLAGS_STATIC_LIB += -fPIC