◐ Shell
clean mode source ↗

bpo-41100: add runtime checks for MACOSX_DEPLOYMENT_TARGET=10.10 by lawrence-danna-apple · Pull Request #21577 · python/cpython

added 2 commits

July 20, 2020 22:54
In order to support a universal2 build, supporitng Mac OS 11 on arm64 and Mac OS on
x86_64 going back to 10.10, we need to add in runtime checks for functions that will
be detected as present by autoconf, because they are in the SDK, but which did not
exist  in Mac OS 10.10.    This fixes all the instances of -WWunguarded-availability-new
when building with MACOSX_DEPLOYMENT_TARGET=10.10

@blurb-it

ronaldoussoren

These complications were needed on a previous build of Xcode but as of
XCode 12 beta 3 it works without them.