[Rpm-maint] [rpm-software-management/rpm] Use -flto=auto as a default for _lto_cflags. (#809)
notifications at github.com
Tue Aug 13 12:18:30 UTC 2019
...and one more note on the subject. The gcc manual says:
The important thing to keep in mind is that to enable link-time
optimizations you need to use the GCC driver to perform the link
step. GCC automatically performs link-time optimization if any of
the objects involved were compiled with the -flto command-line
option. You can always override the automatic decision to do
link-time optimization by passing -fno-lto to the link command.
So unlike some other things, this doesn't actually need a macro for easy disabling ability, people can just append -fno-lto to the packages where this is needed for whatever reason.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint