summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-12-07 18:42:27 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-12-07 19:50:26 +0100
commit44c0777f52a10640685e67f27c01d2a714e38318 (patch)
treefde4e9b9d922e1337e6c8ee50ed94ca2be34282a /app-office
parentapp-office/libreoffice: Fix build with dev-libs/libxml2-2.12.0 (diff)
downloadgentoo-44c0777f52a10640685e67f27c01d2a714e38318.tar.gz
gentoo-44c0777f52a10640685e67f27c01d2a714e38318.tar.bz2
gentoo-44c0777f52a10640685e67f27c01d2a714e38318.zip
app-office/libreoffice: filter-lto only if USE=clang, same as 7.5.8.x
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-office')
-rw-r--r--app-office/libreoffice/libreoffice-7.5.9.2.ebuild6
1 files 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}