]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #13590: On OS X 10.7 and 10.6 with Xcode 4.2, building
authorNed Deily <nad@acm.org>
Fri, 10 Feb 2012 12:01:08 +0000 (13:01 +0100)
committerNed Deily <nad@acm.org>
Fri, 10 Feb 2012 12:01:08 +0000 (13:01 +0100)
commit9937748f0c5590f8d14a68b7aab5eac26e974be8
treed4a59be523d6ca829ce1180f69e6defd43801627
parentfa3702dc28fa8aef291785c560832c9af60305a8
Issue #13590: On OS X 10.7 and 10.6 with Xcode 4.2, building
Distutils-based packages with C extension modules may fail because
Apple has removed gcc-4.2, the version used to build python.org
64-bit/32-bit Pythons.  If the user does not explicitly override
the default C compiler by setting the CC environment variable,
Distutils will now attempt to compile extension modules with clang
if gcc-4.2 is required but not found. Also as a convenience, if
the user does explicitly set CC, substitute its value as the default
compiler in the Distutils LDSHARED configuration variable for OS X.
(Note, the python.org 32-bit-only Pythons use gcc-4.0 and the 10.4u
SDK, neither of which are available in Xcode 4.  This change does not
attempt to override settings to support their use with Xcode 4.)
Lib/distutils/sysconfig.py
Misc/NEWS