Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/jansson/
Date: Sun, 10 Oct 2021 00:32:05
Message-Id: 1633825850.e2385877c80446b392cd8b15633d861bf31980c5.sam@gentoo
1 commit: e2385877c80446b392cd8b15633d861bf31980c5
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 10 00:30:50 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 10 00:30:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2385877
7
8 dev-libs/jansson: force bfd linker (for now)
9
10 Fails with gold + lld, so let's force bfd
11 for now - at least until switched to CMake.
12
13 Closes: https://bugs.gentoo.org/814941
14 Signed-off-by: Sam James <sam <AT> gentoo.org>
15
16 dev-libs/jansson/jansson-2.14.ebuild | 4 +++-
17 1 file changed, 3 insertions(+), 1 deletion(-)
18
19 diff --git a/dev-libs/jansson/jansson-2.14.ebuild b/dev-libs/jansson/jansson-2.14.ebuild
20 index b6d6d015ad6..251233adc0c 100644
21 --- a/dev-libs/jansson/jansson-2.14.ebuild
22 +++ b/dev-libs/jansson/jansson-2.14.ebuild
23 @@ -3,7 +3,7 @@
24
25 EAPI=8
26
27 -inherit multilib-minimal
28 +inherit multilib-minimal toolchain-funcs
29
30 DESCRIPTION="C library for encoding, decoding and manipulating JSON data"
31 HOMEPAGE="https://www.digip.org/jansson/"
32 @@ -17,6 +17,8 @@ IUSE="doc static-libs"
33 BDEPEND="doc? ( dev-python/sphinx )"
34
35 multilib_src_configure() {
36 + tc-ld-force-bfd
37 +
38 ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
39 }