diff options
author | stratakis <cstratak@redhat.com> | 2018-12-04 14:54:01 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2018-12-04 14:54:01 (GMT) |
commit | f92c7aa1ae81efa475b5aecf66e4711ef0f52c4c (patch) | |
tree | 139b7b75f0ffc39a3d75f028a242a8e7501e806e /Misc | |
parent | e63e617ebbe481c498bdf037a62e09f4f9f3963f (diff) | |
download | cpython-f92c7aa1ae81efa475b5aecf66e4711ef0f52c4c.zip cpython-f92c7aa1ae81efa475b5aecf66e4711ef0f52c4c.tar.gz cpython-f92c7aa1ae81efa475b5aecf66e4711ef0f52c4c.tar.bz2 |
bpo-35351: Pass link time optimization flags to CFLAGS_NODIST (GH-10797)
When using link time optimizations, the -flto flag is passed to
BASECFLAGS, which makes it propagate to distutils. Those flags
should be reserved for the interpreter and the stdlib extension
modules only, thus moving those flags to CFLAGS_NODIST.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Build/2018-12-04-15-33-28.bpo-35351.ZhhBfT.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Build/2018-12-04-15-33-28.bpo-35351.ZhhBfT.rst b/Misc/NEWS.d/next/Build/2018-12-04-15-33-28.bpo-35351.ZhhBfT.rst new file mode 100644 index 0000000..ee6c870 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2018-12-04-15-33-28.bpo-35351.ZhhBfT.rst @@ -0,0 +1,2 @@ +When building Python with clang and LTO, LTO flags are no longer passed into +CFLAGS to build third-party C extensions through distutils. |