| Summary: | net-libs/libbloom - Pass CC and BITS to ebuild for cross compilation | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Zhaofeng Li <hello> |
| Component: | Current packages | Assignee: | Yixun Lan <dlan> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jstein, slyfox |
| Priority: | Normal | Keywords: | EBUILD, PATCH |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | The proposed ebuild | ||
|
Description
Zhaofeng Li
2018-06-19 08:48:07 UTC
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5334c986122aabfefc272f4d97de1753750ae3ad commit 5334c986122aabfefc272f4d97de1753750ae3ad Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2018-10-13 07:44:59 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-10-13 09:44:12 +0000 net-libs/libbloom: fix build on 32-bit systems The change adapts build system to be friendlier to Gentoo envorinment: - avoid passing '-m64' unconditionally. Fixes build on ARCH=x86. - avoid passing -O3 unconditionally. Rely on users' optimization flags. - pass user's CC. Fixes simple cross-compilation case. Patch by Zhaofeng Li. Closes: https://bugs.gentoo.org/658466 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 net-libs/libbloom/{libbloom-1.5.ebuild => libbloom-1.5-r1.ebuild} | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) Looks goood! I also overrode OPT= to drop unconditional -O3. Thank you! |