commit: 44c0777f52a10640685e67f27c01d2a714e38318
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 7 17:42:27 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Dec 7 18:50:26 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44c0777f
app-office/libreoffice: filter-lto only if USE=clang, same as 7.5.8.x
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
app-office/libreoffice/libreoffice-7.5.9.2.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/app-office/libreoffice/libreoffice-7.5.9.2.ebuild
b/app-office/libreoffice/libreoffice-7.5.9.2.ebuild
index 786eff58ca6c..5e1706712f41 100644
--- a/app-office/libreoffice/libreoffice-7.5.9.2.ebuild
+++ b/app-office/libreoffice/libreoffice-7.5.9.2.ebuild
@@ -414,6 +414,9 @@ src_configure() {
RANLIB=llvm-ranlib
LDFLAGS+=" -fuse-ld=lld"
+ # Workaround for bug #907905
+ filter-lto
+
# Workaround for bug #915067
append-ldflags -Wl,--undefined-version
@@ -440,9 +443,6 @@ src_configure() {
strip-flags
fi
- # Workaround for bug #907905
- filter-lto
-
export LO_CLANG_CC=${CC}
export LO_CLANG_CXX=${CXX}