[Rpm-maint] [rpm-software-management/rpm] Use -flto=auto as a default for _lto_cflags. (#809)

Panu Matilainen notifications at github.com
Mon Aug 12 11:38:59 UTC 2019


I can see -flto=auto being useful for the average upstream makefile defaults but I'm not convinced this is the right thing to do in rpm context: we'd want our parallel activities controlled via the same central tunables ($RPM_BUILD_NCPUS / %{_smp_ncpus_max}). If LTO falls back to detecting number of cores on its own, that goal was missed. 

Is there a summary of the gcc community reasoning someplace or can you provide one? 

-- 
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/809#issuecomment-520390459
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190812/73638ea2/attachment.html>


More information about the Rpm-maint mailing list