app-office/libreoffice: workaround failure w/ lld 17

Closes: https://bugs.gentoo.org/915067
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-10-11 09:29:22 +01:00
parent f034e38e2f
commit 1c9e8df3cb
3 changed files with 9 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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