bpo-45881: Use CC from env first for cross building (GH-29752) by tiran · Pull Request #29752 · python/cpython
``setup.py`` now uses ``CC`` from environment first to discover multiarch and cross compile paths. The sysconfig variable contains the value for the build host. The patch also re-arranges ``set_compiler_executables``, ``configure_compiler``, and ``init_inc_lib_dirs`` to make the code easier to follow. Signed-off-by: Christian Heimes <christian@python.org>
tiran
changed the title
bpo-45881: Use CC from env first for cross building
bpo-45881: Use CC from env first for cross building (GH-29752)
tiran
deleted the
bpo-45881-cross-cc
branch
tiran added a commit to tiran/cpython that referenced this pull request
Nov 24, 2021tiran added a commit to tiran/cpython that referenced this pull request
Nov 24, 2021…honGH-29752). (cherry picked from commit b30bf45) Co-authored-by: Christian Heimes <christian@python.org>. (cherry picked from commit e6b0c8a) Co-authored-by: Christian Heimes <christian@python.org>
tiran
mentioned this pull request
tiran added a commit that referenced this pull request
Nov 25, 2021…H-29754) Co-authored-by: Christian Heimes <christian@python.org>. Co-authored-by: Christian Heimes <christian@python.org>
tiran added a commit that referenced this pull request
Nov 27, 2021GH-29753) Co-authored-by: Christian Heimes <christian@python.org>
tiran
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters