]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900) (GH-11264)
authorVictor Stinner <vstinner@redhat.com>
Thu, 20 Dec 2018 15:03:01 +0000 (16:03 +0100)
committerGitHub <noreply@github.com>
Thu, 20 Dec 2018 15:03:01 +0000 (16:03 +0100)
commit0198f52ea2328fd932622ad2299381f617a041f2
tree4a9f2733570b0f7349a04a209866d95a5f573d54
parent5d0498a6967d45042b7a9345f6d871047edbaa25
bpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900) (GH-11264)

When compiling 3rd party C extensions, the linker flags used by the
compiler for the interpreter and the stdlib modules, will get
leaked into distutils. In order to avoid that, the PY_CORE_LDFLAGS
and PY_LDFLAGS_NODIST are introduced to keep those flags separated.

(cherry picked from commit cf10a750f4b50b6775719cfb17bee00bc3a9c60b)
Lib/_osx_support.py
Lib/test/pythoninfo.py
Lib/test/test__osx_support.py
Makefile.pre.in
Misc/NEWS.d/next/Build/2018-12-05-22-28-40.bpo-35257.dmcd_s.rst [new file with mode: 0644]
configure
configure.ac
setup.py