commit:     c8f0a0d3dd750bbff480e6321cbd96feda0e1ee6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  7 04:31:07 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov  7 04:31:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8f0a0d3

sys-fs/lvm2: workaround failure with gold

Bug: https://bugs.gentoo.org/822210
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-fs/lvm2/lvm2-2.03.14.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys-fs/lvm2/lvm2-2.03.14.ebuild b/sys-fs/lvm2/lvm2-2.03.14.ebuild
index 1cc2795b71b..d690731034f 100644
--- a/sys-fs/lvm2/lvm2-2.03.14.ebuild
+++ b/sys-fs/lvm2/lvm2-2.03.14.ebuild
@@ -120,6 +120,10 @@ src_prepare() {
 
 src_configure() {
        filter-flags -flto
+
+       # Workaround for bug #822210
+       tc-ld-is-gold && tc-ld-force-bfd
+
        local myeconfargs=()
 
        # Most of this package does weird stuff.

Reply via email to