Mainly motivated by some upstream work I did with dev-python/scipy, which has some ancient code that will never be updated to work with LTO, and some nice new code that works great.
The first patch is a nice improvement on its own. The second one makes limited sense without the third one. Eli Schwartz (3): meson.eclass: wire up LTO support directly into the meson options distutils-r1.eclass: wire up meson-python to meson.eclass distutils-r1.eclass: fix src_configure to handle flag-o-matic correctly eclass/distutils-r1.eclass | 11 +++++++---- eclass/meson.eclass | 36 ++++++++++++++++++++++++++++++++---- 2 files changed, 39 insertions(+), 8 deletions(-) -- 2.43.0