summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2021-12-07 02:35:50 (GMT)
committerGitHub <noreply@github.com>2021-12-07 02:35:50 (GMT)
commitddbab69b6d44085564a9b5022b96b002a52b2f2b (patch)
tree1b0d2701150a6ad2042972c9b178c1b157efa187 /configure
parentc5c365220ed2c867fe81078f70b827de22db2ee6 (diff)
downloadcpython-ddbab69b6d44085564a9b5022b96b002a52b2f2b.zip
cpython-ddbab69b6d44085564a9b5022b96b002a52b2f2b.tar.gz
cpython-ddbab69b6d44085564a9b5022b96b002a52b2f2b.tar.bz2
bpo-45798: Let libmpdec decide which archs to build on macOS as done previously. (GH-29949)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 2 insertions, 14 deletions
diff --git a/configure b/configure
index 2237e6e..608055d 100755
--- a/configure
+++ b/configure
@@ -11815,21 +11815,9 @@ esac
libmpdec_machine=unknown
if test "$libmpdec_system" = Darwin; then
- case $MACOSX_DEFAULT_ARCH in #(
- i386) :
- libmpdec_machine=ansi32 ;; #(
- ppc) :
- libmpdec_machine=ansi32 ;; #(
- x86_64) :
- libmpdec_machine=x64 ;; #(
- ppc64) :
- libmpdec_machine=ansi64 ;; #(
- arm64) :
- libmpdec_machine=ansi64 ;; #(
- *) :
+ # universal here means: build libmpdec with the same arch options
+ # the python interpreter was built with
libmpdec_machine=universal
- ;;
-esac
elif test $ac_cv_sizeof_size_t -eq 8; then
if test "$ac_cv_gcc_asm_for_x64" = yes; then
libmpdec_machine=x64