Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 668490 - net-print/cups USE=-flto - ? (fails to respect AR)
Summary: net-print/cups USE=-flto - ? (fails to respect AR)
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL: https://github.com/apple/cups/milesto...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-10-13 00:24 UTC by Denis Pronin
Modified: 2018-10-22 11:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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