]> granicus.if.org Git - python/commit
bpo-35351: Pass link time optimization flags to CFLAGS_NODIST (GH-10797)
authorstratakis <cstratak@redhat.com>
Tue, 4 Dec 2018 14:54:01 +0000 (15:54 +0100)
committerVictor Stinner <vstinner@redhat.com>
Tue, 4 Dec 2018 14:54:01 +0000 (15:54 +0100)
commitf92c7aa1ae81efa475b5aecf66e4711ef0f52c4c
tree139b7b75f0ffc39a3d75f028a242a8e7501e806e
parente63e617ebbe481c498bdf037a62e09f4f9f3963f
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.
Misc/NEWS.d/next/Build/2018-12-04-15-33-28.bpo-35351.ZhhBfT.rst [new file with mode: 0644]
configure
configure.ac