[Rpm-maint] [rpm-software-management/rpm] Come up with %_smp_flto macro that expands in a similar way to _smp_mflags. (#606)
marxin
notifications at github.com
Mon Jan 14 12:27:32 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?
Yep, sounds better to me as well!
>
> 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?
Yes, I'm preparing openSUSE Factory for that.
> Just thinking whether there should be some integration with %make_build for example.
We're planning to enable that via ```$optflags``` where we'll add the new ```%_lto_mflags```.
--
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-453988419
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190114/59207ca4/attachment.html>
More information about the Rpm-maint
mailing list