You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmake: use -flto=auto compiler flag when supported
Use -flto=auto compiler flag when supported, this silence this
GCC warning:
> lto-wrapper: warning: using serial compilation of # LTRANS jobs
This also greatly speeds-up the linkage time as it enables LTO
multithreading in GCC (either by using Make jobserver if detected,
either by detecting CPU cores).
Also always set LTO if enabled.
0 commit comments