commit:     275a3af1b2d6af3da05f7a0ba6a1f11bb5dee198
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 28 04:45:36 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 28 04:52:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=275a3af1

app-office/libreoffice: backport lld 17 workaround

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

 app-office/libreoffice/libreoffice-7.5.6.2.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-office/libreoffice/libreoffice-7.5.6.2.ebuild 
b/app-office/libreoffice/libreoffice-7.5.6.2.ebuild
index 440670313bc3..c8c2708fb0b1 100644
--- a/app-office/libreoffice/libreoffice-7.5.6.2.ebuild
+++ b/app-office/libreoffice/libreoffice-7.5.6.2.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

Reply via email to