Summary: | dev-libs/openssl: `make depend` fails when CC doesn't end in "gcc" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | [OLD] Library | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | qa |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=417795 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log
Fix 'make depend' with non-/gcc$/ compilers |
Description
Michał Górny
2014-01-30 18:40:14 UTC
Created attachment 382854 [details, diff]
Fix 'make depend' with non-/gcc$/ compilers
Two things:
1. replace the $MAKEDEPEND test with simple 'true' since we're always overriding MAKEDEPEND with the compiler,
2. add -Qunused-arguments to CFLAGS when clang is used to silence out the warnings about wrong kind of flags being passed to wrong kind of tool. This fixes a lot of warnings nobody's going to fix and also 'make depend' which failed because it uses -Werror for some reason.
+ 13 Aug 2014; Michał Górny <mgorny@gentoo.org> openssl-0.9.8z_p2.ebuild, + openssl-1.0.1i.ebuild, openssl-1.0.2_beta2.ebuild: + Short-circuit the $MAKEDEPEND-is-gcc to always-on since we are overriding + MAKEDEPEND unconditionally anyway. Pass -Qunused-arguments when clang is used + to silence the unused flag warnings that can not be fixed without major + changes to the build system, and to make -Werror in "make depend" happier. + Fixes build with CC values that do not end with "gcc", bug #499818, and with + clang, bug #417795. Reviewed by Chainsaw. |