]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.6] bpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900) (GH-11265)
authorVictor Stinner <vstinner@redhat.com>
Thu, 20 Dec 2018 20:31:22 +0000 (21:31 +0100)
committerNed Deily <nad@python.org>
Thu, 20 Dec 2018 20:31:22 +0000 (15:31 -0500)
commita21bedf9edeacce6f0de3b2df0783e2ad6aa3b18
tree27fd65f8fa4e3a4063a6702e41e70cc8429a0498
parent70db385944ecf2ceed10ed7d91fce68399f9ca8a
[3.6] bpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900) (GH-11265)

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