Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 39fd231

Browse files
committed
On OSX, use --arch_only arch in stead of --arch_only ppc, so things will
build for the current CPU.
1 parent 81ae235 commit 39fd231

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

configure

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# From configure.in Revision: 42382 .
2+
# From configure.in Revision: 42437 .
33
# Guess values for system-dependent variables and create Makefiles.
44
# Generated by GNU Autoconf 2.59 for python 2.5.
55
#
@@ -10824,7 +10824,7 @@ esac
1082410824

1082510825
case $ac_sys_system/$ac_sys_release in
1082610826
Darwin/[01234567].*)
10827-
LIBTOOL_CRUFT="-framework System -lcc_dynamic -arch_only ppc"
10827+
LIBTOOL_CRUFT="-framework System -lcc_dynamic -arch_only `arch`"
1082810828
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
1082910829
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
1083010830
Darwin/*)
@@ -10835,7 +10835,7 @@ case $ac_sys_system/$ac_sys_release in
1083510835
else
1083610836
LIBTOOL_CRUFT=""
1083710837
fi
10838-
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -lSystem -lSystemStubs -arch_only ppc'
10838+
LIBTOOL_CRUFT=$LIBTOOL_CRUFT" -lSystem -lSystemStubs -arch_only `arch`"
1083910839
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
1084010840
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
1084110841
esac

configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,7 @@ esac
12651265
AC_SUBST(LIBTOOL_CRUFT)
12661266
case $ac_sys_system/$ac_sys_release in
12671267
Darwin/@<:@01234567@:>@.*)
1268-
LIBTOOL_CRUFT="-framework System -lcc_dynamic -arch_only ppc"
1268+
LIBTOOL_CRUFT="-framework System -lcc_dynamic -arch_only `arch`"
12691269
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
12701270
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
12711271
Darwin/*)
@@ -1276,7 +1276,7 @@ case $ac_sys_system/$ac_sys_release in
12761276
else
12771277
LIBTOOL_CRUFT=""
12781278
fi
1279-
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -lSystem -lSystemStubs -arch_only ppc'
1279+
LIBTOOL_CRUFT=$LIBTOOL_CRUFT" -lSystem -lSystemStubs -arch_only `arch`"
12801280
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
12811281
LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
12821282
esac

0 commit comments

Comments
 (0)