Dnia środa, 4 lutego 2015 15:43:57 Tomasz Paweł Gajc pisze:
> Hi,
> 
> i'm not sure whether LTO is enabled in cooker, in case when of LLVM/clang
> and gcc are used as compilers?
> 
> http://llvm.org/docs/GoldPlugin.html
> https://gcc.gnu.org/wiki/LinkTimeOptimization
> 
> I'm preety sure, that -flto is not passed in %{optflags}, second i'm not
> sure either some changes are needed in compilers and binutils.

Hi,

good news, Bero enabled support for LTO in our %optflags and %ldflags.
Binutils needed to be updated to latest git to handle clang LTO.

If you builds fail please try to rebuild dependant libs and if this will not 
help add:

%define _disable_lto 1

to spec file.

-- 
Cheers
TPG

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
OM-Cooker mailing list
[email protected]
http://ml.openmandriva.org/listinfo.cgi/om-cooker-openmandriva.org

Reply via email to