summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-10-28 05:45:36 +0100
committerSam James <sam@gentoo.org>2023-10-28 05:52:39 +0100
commit275a3af1b2d6af3da05f7a0ba6a1f11bb5dee198 (patch)
tree3d6ca53199ef35d6448e0f97cf39f8d4e93ce8d5 /app-office/libreoffice
parentapp-crypt/gpgme: add 1.23.1 (diff)
downloadgentoo-275a3af1b2d6af3da05f7a0ba6a1f11bb5dee198.tar.gz
gentoo-275a3af1b2d6af3da05f7a0ba6a1f11bb5dee198.tar.bz2
gentoo-275a3af1b2d6af3da05f7a0ba6a1f11bb5dee198.zip
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@gentoo.org>
Diffstat (limited to 'app-office/libreoffice')
-rw-r--r--app-office/libreoffice/libreoffice-7.5.6.2.ebuild3
1 files changed, 3 insertions, 0 deletions
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