diff options
author | Ned Deily <nad@acm.org> | 2014-12-11 23:55:42 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2014-12-11 23:55:42 (GMT) |
commit | 0be4b1ef58f7602c03f69594b84ba6908728acb2 (patch) | |
tree | b2e3060bcced32f724f86c853a837da588a90882 | |
parent | 78cf9a56a3fc39df44ce7cef6fe0483ccc23062d (diff) | |
download | cpython-0be4b1ef58f7602c03f69594b84ba6908728acb2.zip cpython-0be4b1ef58f7602c03f69594b84ba6908728acb2.tar.gz cpython-0be4b1ef58f7602c03f69594b84ba6908728acb2.tar.bz2 |
Issue #23032: Fix installer build failures on OS X 10.4 Tiger
by disabling assembly code in the OpenSSL build.
-rwxr-xr-x | Mac/BuildScript/build-installer.py | 7 | ||||
-rw-r--r-- | Misc/NEWS | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py index 5c9b590..6bcdcd8 100755 --- a/Mac/BuildScript/build-installer.py +++ b/Mac/BuildScript/build-installer.py @@ -844,6 +844,11 @@ def build_universal_openssl(basedir, archList): separately then lipo them together into fat libraries. """ + # OpenSSL fails to build with Xcode 2.5 (on OS X 10.4). + # If we are building on a 10.4.x or earlier system, + # unilaterally disable assembly code building to avoid the problem. + no_asm = int(platform.release().split(".")[0]) < 9 + def build_openssl_arch(archbase, arch): "Build one architecture of openssl" arch_opts = { @@ -868,6 +873,8 @@ def build_universal_openssl(basedir, archList): "--prefix=%s"%os.path.join("/", *FW_VERSION_PREFIX), "--openssldir=/System/Library/OpenSSL", ] + if no_asm: + configure_opts.append("no-asm") runCommand(" ".join(["perl", "Configure"] + arch_opts[arch] + configure_opts)) runCommand("make depend OSX_SDK=%s" % SDKPATH) @@ -57,6 +57,12 @@ IDLE - Issue #16893: Update Idle doc chapter to match current Idle and add new information. +Build +----- + +- Issue #23032: Fix installer build failures on OS X 10.4 Tiger + by disabling assembly code in the OpenSSL build. + What's New in Python 2.7.9? =========================== |