On Thu, Apr 18, 2019 at 05:05:30PM +0200, Jean-Marc Lasgouttes wrote:
> Le 18/04/2019 ?? 16:54, Pavel Sanda a écrit :
>> It used to be that LTO could quite increase linking time, is there some 
>> visible compil time difference for lyx?
>
> Yes, the link time is longer, but it seems that one can use -flto=4 to use 
> 4 CPUS.
>
> For reference, the configure line I used was:
> ../master/configure --enable-build-type=rel --with-version-suffix=-master 
> CXX='g++ -flto' AR='gcc-ar' RANLIB=gcc-ranlib LD='g++ -flto'
>
> I could try to include that in configure (and test it with clang too).

I am excited to see how this flies on my 10y old laptop.
If no other mail comes it means I got swapped to death :)
P

Reply via email to