From 1c9e8df3cb2bccfcd1699bbae7c30ee7ca616435 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 11 Oct 2023 09:29:22 +0100 Subject: [PATCH] app-office/libreoffice: workaround failure w/ lld 17 Closes: https://bugs.gentoo.org/915067 Signed-off-by: Sam James --- app-office/libreoffice/libreoffice-7.5.7.1.ebuild | 3 +++ app-office/libreoffice/libreoffice-7.5.9999.ebuild | 3 +++ app-office/libreoffice/libreoffice-9999.ebuild | 3 +++ 3 files changed, 9 insertions(+) diff --git a/app-office/libreoffice/libreoffice-7.5.7.1.ebuild b/app-office/libreoffice/libreoffice-7.5.7.1.ebuild index 90048ef61fed8..5d22adeb817da 100644 --- a/app-office/libreoffice/libreoffice-7.5.7.1.ebuild +++ b/app-office/libreoffice/libreoffice-7.5.7.1.ebuild @@ -404,6 +404,9 @@ src_configure() { RANLIB=llvm-ranlib LDFLAGS+=" -fuse-ld=lld" + # Workaround for bug #915067 + append-ldflags -Wl,--undefined-version + # Not implemented by Clang, bug #903889 filter-flags -Wlto-type-mismatch -Werror=lto-type-mismatch else diff --git a/app-office/libreoffice/libreoffice-7.5.9999.ebuild b/app-office/libreoffice/libreoffice-7.5.9999.ebuild index 90048ef61fed8..5d22adeb817da 100644 --- a/app-office/libreoffice/libreoffice-7.5.9999.ebuild +++ b/app-office/libreoffice/libreoffice-7.5.9999.ebuild @@ -404,6 +404,9 @@ src_configure() { RANLIB=llvm-ranlib LDFLAGS+=" -fuse-ld=lld" + # Workaround for bug #915067 + append-ldflags -Wl,--undefined-version + # Not implemented by Clang, bug #903889 filter-flags -Wlto-type-mismatch -Werror=lto-type-mismatch else diff --git a/app-office/libreoffice/libreoffice-9999.ebuild b/app-office/libreoffice/libreoffice-9999.ebuild index b18f51bf94d86..4e7d3a6cd6c6a 100644 --- a/app-office/libreoffice/libreoffice-9999.ebuild +++ b/app-office/libreoffice/libreoffice-9999.ebuild @@ -402,6 +402,9 @@ src_configure() { RANLIB=llvm-ranlib LDFLAGS+=" -fuse-ld=lld" + # Workaround for bug #915067 + append-ldflags -Wl,--undefined-version + # Not implemented by Clang, bug #903889 filter-flags -Wlto-type-mismatch -Werror=lto-type-mismatch else