Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 668490

Summary: net-print/cups USE=-flto - ? (fails to respect AR)
Product: Gentoo Linux Reporter: Denis Pronin <dannftk>
Component: Current packagesAssignee: Printing Team <printing>
Status: RESOLVED OBSOLETE    
Severity: normal CC: pacho
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/apple/cups/milestone/3
See Also: https://github.com/apple/cups/pull/5411
Whiteboard:
Package list:
Runtime testing required: ---

Description Denis Pronin 2018-10-13 00:24:12 UTC
Hi,

When building the package with -flto flag provided to a compiler (CFLAGS, CXXFLAGS) it cannot create neither static libraries (because an ordinal 'ar' from binutils is used rather than 'gcc-ar' or 'llvm-ar') nor shared libraries (because LDFLAGS is not propagated to a linker, LDFLAGS contains '-flto')

I opened a pull request in github to cure this wound
https://github.com/apple/cups/pull/5411

I will be waiting for a response from the maintainer

Thank you
Comment 1 Denis Pronin 2018-10-15 18:39:40 UTC
The PR has been added to the milestone https://github.com/apple/cups/milestone/3
Will be waiting for merge
Comment 2 Pacho Ramos gentoo-dev 2021-08-18 07:13:06 UTC
Current versions should have it fixed