Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/lvm2/
Date: Sun, 07 Nov 2021 04:32:03
Message-Id: 1636259510.c8f0a0d3dd750bbff480e6321cbd96feda0e1ee6.sam@gentoo
1 commit: c8f0a0d3dd750bbff480e6321cbd96feda0e1ee6
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 7 04:31:07 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 7 04:31:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8f0a0d3
7
8 sys-fs/lvm2: workaround failure with gold
9
10 Bug: https://bugs.gentoo.org/822210
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 sys-fs/lvm2/lvm2-2.03.14.ebuild | 4 ++++
14 1 file changed, 4 insertions(+)
15
16 diff --git a/sys-fs/lvm2/lvm2-2.03.14.ebuild b/sys-fs/lvm2/lvm2-2.03.14.ebuild
17 index 1cc2795b71b..d690731034f 100644
18 --- a/sys-fs/lvm2/lvm2-2.03.14.ebuild
19 +++ b/sys-fs/lvm2/lvm2-2.03.14.ebuild
20 @@ -120,6 +120,10 @@ src_prepare() {
21
22 src_configure() {
23 filter-flags -flto
24 +
25 + # Workaround for bug #822210
26 + tc-ld-is-gold && tc-ld-force-bfd
27 +
28 local myeconfargs=()
29
30 # Most of this package does weird stuff.