Re: Is LTO worth it?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Am 11.01.21 um 16:05 schrieb Michael Biebl:
Am Mo., 11. Jan. 2021 um 15:42 Uhr schrieb Reindl Harald
<h.reindl@xxxxxxxxxxxxx>:
it shouldn't if properly used - means param with cpu-cores, just -flto
alone is terrible slow

-flto=%(nproc)
%{__make} %{?_smp_mflags}

The package uses meson's -Db_lto=true

export LDFLAGS="-Wl,--as-needed -Wl,-z,now -Wl,-z,relro -pie %{optflags} -flto=%(nproc)"
%meson

_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux