summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-05-04 12:21:10 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-05-04 12:21:10 (GMT)
commit4a079000243ed05ce37d3c7055b5bd56c7ccf85d (patch)
tree3bb9bf991e13a8e211cd9c56c0adb249ebe1a697 /configure
parent5dec3808ed6724a096e5dfc579d37e8528de75e0 (diff)
parentc368a8ed6badab846c8e63c26d48b95788c12163 (diff)
downloadQt-4a079000243ed05ce37d3c7055b5bd56c7ccf85d.zip
Qt-4a079000243ed05ce37d3c7055b5bd56c7ccf85d.tar.gz
Qt-4a079000243ed05ce37d3c7055b5bd56c7ccf85d.tar.bz2
Merge commit 'origin/4.5'
Conflicts: src/gui/itemviews/qabstractitemview.cpp
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 5 insertions, 4 deletions
diff --git a/configure b/configure
index b447ce5..c30d70d 100755
--- a/configure
+++ b/configure
@@ -6007,10 +6007,11 @@ if [ "$CFG_EXCEPTIONS" = "no" ]; then
QMAKE_CONFIG="$QMAKE_CONFIG exceptions_off"
fi
-# On Mac, set the minimum deployment target using Xarch when that is supported (10.5 and up).
-# On 10.4 the deployment version is set to 10.3 globally using the QMAKE_MACOSX_DEPLOYMENT_TARGET env. variable
-# "-cocoa" on the command line means Cocoa is used in 32-bit mode also, in this case fall back on
-# QMAKE_MACOSX_DEPLOYMENT_TARGET which will be set to 10.5.
+# On Mac, set the minimum deployment target for the different architechtures
+# using the Xarch compiler option when supported (10.5 and up). On 10.4 the
+# deployment version is set to 10.3 globally using the QMAKE_MACOSX_DEPLOYMENT_TARGET
+# env. variable. "-cocoa" on the command line means Cocoa is used in 32-bit mode also,
+# in this case fall back on QMAKE_MACOSX_DEPLOYMENT_TARGET which will be set to 10.5.
if [ "$PLATFORM_MAC" = "yes" ] && [ "$CFG_MAC_XARCH" != "no" ] && [ "$COMMANDLINE_MAC_COCOA" != "yes" ]; then
if echo "$CFG_MAC_ARCHS" | grep '\<x86\>' > /dev/null 2>&1; then
QMakeVar add QMAKE_CFLAGS "-Xarch_i386 -mmacosx-version-min=10.4"