]> 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)
committerNed Deily <nad@python.org>
Sun, 23 Dec 2018 20:45:10 +0000 (15:45 -0500)
commitf14087a4a96bb3f500e2d2bbc36c1124e90d5f73
treec37b0740d086c8ab2439df9ca3f1ffda8d752fa5
parent371ca0bb8f5eaa0dcbd3fa2f878398285488d47f
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