summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorstratakis <cstratak@redhat.com>2018-12-19 17:19:01 (GMT)
committerVictor Stinner <vstinner@redhat.com>2018-12-19 17:19:01 (GMT)
commitcf10a750f4b50b6775719cfb17bee00bc3a9c60b (patch)
treeb01cd3a429404cf2a2d58d8cfb35676c8969f5f6 /Misc
parent55cc34500e5abbfedb89adc95e3f94d53c544933 (diff)
downloadcpython-cf10a750f4b50b6775719cfb17bee00bc3a9c60b.zip
cpython-cf10a750f4b50b6775719cfb17bee00bc3a9c60b.tar.gz
cpython-cf10a750f4b50b6775719cfb17bee00bc3a9c60b.tar.bz2
bpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900)
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Build/2018-12-05-22-28-40.bpo-35257.dmcd_s.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Build/2018-12-05-22-28-40.bpo-35257.dmcd_s.rst b/Misc/NEWS.d/next/Build/2018-12-05-22-28-40.bpo-35257.dmcd_s.rst
new file mode 100644
index 0000000..fad2525
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2018-12-05-22-28-40.bpo-35257.dmcd_s.rst
@@ -0,0 +1,2 @@
+Avoid leaking the linker flags from Link Time Optimizations (LTO)
+into distutils when compiling C extensions. \ No newline at end of file