[Rpm-maint] [rpm-software-management/rpm] Come up with %_smp_flto macro that expands in a similar way to _smp_mflags. (#606)

Panu Matilainen notifications at github.com
Mon Jan 14 09:32:05 UTC 2019


That's indeed much better, thanks. There's still the naming mismatch with the concept though: %_smp_flto enables LTO regardless of number of cpus, and flto is the name of the compiler switch, the feature is simply LTO. Maybe it should be %_lto_mflags instead?

How you envision this gets used in practise - is it something that eg distros might want to enable by default some day, or is it strictly per-spec thing? Just thinking whether there should be some integration with %make_build for example.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/606#issuecomment-453944087
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190114/647a1de2/attachment.html>


More information about the Rpm-maint mailing list