commit: 1c9e8df3cb2bccfcd1699bbae7c30ee7ca616435 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Oct 11 08:29:22 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Oct 11 08:29:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c9e8df3
app-office/libreoffice: workaround failure w/ lld 17 Closes: https://bugs.gentoo.org/915067 Signed-off-by: Sam James <sam <AT> gentoo.org> 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 90048ef61fed..5d22adeb817d 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 90048ef61fed..5d22adeb817d 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 b18f51bf94d8..4e7d3a6cd6c6 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
