diff options
author | Morten Sørvig <msorvig@trolltech.com> | 2009-05-07 07:41:35 (GMT) |
---|---|---|
committer | Morten Sørvig <msorvig@trolltech.com> | 2009-05-07 07:41:35 (GMT) |
commit | 0d8434ecfec5a088bc0c755964dae1dfcb35305e (patch) | |
tree | 439b859a3f9b83187553843f8be62862966191d1 | |
parent | a83d4edbb27ca5394e97de6387f9bdc1fc0d98ae (diff) | |
download | Qt-0d8434ecfec5a088bc0c755964dae1dfcb35305e.zip Qt-0d8434ecfec5a088bc0c755964dae1dfcb35305e.tar.gz Qt-0d8434ecfec5a088bc0c755964dae1dfcb35305e.tar.bz2 |
Fix configure error on Mac with "-arch x86"
STRING="${STRING/x86/i386}" actually replaces whole words only,
so we don't need to fixup x86_64 afterwards.
Reviewed-by: nrc
-rwxr-xr-x | configure | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -2717,7 +2717,6 @@ if [ "$PLATFORM_MAC" = "yes" ]; then # Build commmand line arguments we can pass to the compiler during configure tests # by prefixing each arch with "-arch". CFG_MAC_ARCHS_GCC_FORMAT="${CFG_MAC_ARCHS/x86/i386}" - CFG_MAC_ARCHS_GCC_FORMAT="${CFG_MAC_ARCHS/i386_64/x86_64}" for ARCH in $CFG_MAC_ARCHS_GCC_FORMAT; do MAC_ARCHS_COMMANDLINE="$MAC_ARCHS_COMMANDLINE -arch $ARCH" done |