New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
media-libs/netpbm: fix compilation with hardened clang #23207
Conversation
Pull Request assignmentSubmitter: @ceamac media-libs/netpbm: @ceamac, @gentoo/proxy-maint Linked bugsBugs linked: 828127 In order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
@@ -3,7 +3,7 @@ | |||
|
|||
EAPI=8 | |||
|
|||
inherit multilib toolchain-funcs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry if I asked this before: are we actually using multilib.eclass?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we do, pkgcheck scan
reports if we don't. I just checked on another package:
UnusedInherits: version 1.3.5: unused eclass: multilib
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed it and got
IndirectInherits: version 10.86.27: multilib: indirect inherit usage: 'get_libname', line 58
Great tool :)
Closes: https://bugs.gentoo.org/828127 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
c9cc180
to
75aa6b6
Compare
Pull request CI reportReport generated at: 2021-12-07 19:55 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Add
-fPIC
toCFLAGS_FOR_BUILD
ifCFLAGS
also has it.CC_FOR_BUILD
is only used for some internal tools and for testing. I think leakingCFLAGS
overCFLAGS_FOR_BUILD
may break cross compilation.