summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-02-11 13:23:08 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2010-02-11 13:23:08 (GMT)
commit564f7f2c3bdc1cbb93ccb9e1b8e67cf8d6701833 (patch)
treee7fe13e65dde00e6c942d2ce68014ab9bef21a5a /configure.in
parent25696bb9b2bbb80fdfd1535b1f78492d8a469cb1 (diff)
downloadcpython-564f7f2c3bdc1cbb93ccb9e1b8e67cf8d6701833.zip
cpython-564f7f2c3bdc1cbb93ccb9e1b8e67cf8d6701833.tar.gz
cpython-564f7f2c3bdc1cbb93ccb9e1b8e67cf8d6701833.tar.bz2
Fix for issue #7715: explicitly use the system arch instead of whatever is
on the user's path. This is needed because GNU arch is not necessarily compatible with Apple's version.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index a0ca8d5..53efe86 100644
--- a/configure.in
+++ b/configure.in
@@ -934,17 +934,17 @@ EOF
elif test "$UNIVERSAL_ARCHS" = "all" ; then
UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch ppc64 -arch x86_64"
LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
- ARCH_RUN_32BIT="arch -i386 -ppc"
+ ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc"
elif test "$UNIVERSAL_ARCHS" = "intel" ; then
UNIVERSAL_ARCH_FLAGS="-arch i386 -arch x86_64"
LIPO_32BIT_FLAGS="-extract i386"
- ARCH_RUN_32BIT="arch -i386"
+ ARCH_RUN_32BIT="/usr/bin/arch -i386"
elif test "$UNIVERSAL_ARCHS" = "3-way" ; then
UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch x86_64"
LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
- ARCH_RUN_32BIT="arch -i386 -ppc7400"
+ ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc"
else
AC_MSG_ERROR([proper usage is --with-universal-arch=32-bit|64-bit|all|intel|3-way])