mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
bpo-26317: Support OBJC and OBJCXX configure command line variables (GH-20176)
Add support to the configure script for OBJC and OBJCXX command line options so that the macOS builds can use the clang compiler for the macOS-specific Objective C source files. This allows third-party compilers, like GNU gcc, to be used to build the rest of the project since some of the Objective C system header files are not compilable by GNU gcc. Co-authored-by: Jeffrey Kintscher <websurfer@surf2c.net> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
c444108dd6
commit
0da5466650
10 changed files with 670 additions and 15 deletions
|
|
@ -892,6 +892,14 @@ Build Changes
|
|||
functions are now required to build Python.
|
||||
(Contributed by Victor Stinner in :issue:`39395`.)
|
||||
|
||||
* The ``OBJC`` and ``OBJCXX`` standard command line options for the configure
|
||||
script are now supported. This allows building fot macOS with a third-party
|
||||
compiler, like GNU `gcc`, for everything except for the several
|
||||
system-specific source files that need system headers that require the
|
||||
Apple-supplied compile chain (e.g. the ``_scproxy`` helper module and
|
||||
``PythonLauncher.app``).
|
||||
(Contributed by Jeffrey Kintscher in :issue:`26317`.)
|
||||
|
||||
|
||||
C API Changes
|
||||
=============
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue