summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2023-11-29 16:19:58 -0500
committerMatt Turner <mattst88@gentoo.org>2023-11-29 16:21:37 -0500
commitb45e1bd93fc1000237d1d1594e31a4bc77c8883a (patch)
treee5c877dba0fa357e046a63bbd4fe3179d99c456f /app-office/libreoffice
parentprofiles: deprecate dev-libs/hyperscan (diff)
downloadgentoo-b45e1bd93fc1000237d1d1594e31a4bc77c8883a.tar.gz
gentoo-b45e1bd93fc1000237d1d1594e31a4bc77c8883a.tar.bz2
gentoo-b45e1bd93fc1000237d1d1594e31a4bc77c8883a.zip
app-office/libreoffice: filter-lto with USE=clang
Bug: https://bugs.gentoo.org/907905 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'app-office/libreoffice')
-rw-r--r--app-office/libreoffice/libreoffice-7.5.6.2.ebuild3
-rw-r--r--app-office/libreoffice/libreoffice-7.5.8.2-r2.ebuild3
-rw-r--r--app-office/libreoffice/libreoffice-7.5.8.2.ebuild3
-rw-r--r--app-office/libreoffice/libreoffice-9999.ebuild3
4 files changed, 12 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 9d3043493da2..9d2b564c853d 100644
--- a/app-office/libreoffice/libreoffice-7.5.6.2.ebuild
+++ b/app-office/libreoffice/libreoffice-7.5.6.2.ebuild
@@ -405,6 +405,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
diff --git a/app-office/libreoffice/libreoffice-7.5.8.2-r2.ebuild b/app-office/libreoffice/libreoffice-7.5.8.2-r2.ebuild
index 58778eaca03c..2d1d90c37611 100644
--- a/app-office/libreoffice/libreoffice-7.5.8.2-r2.ebuild
+++ b/app-office/libreoffice/libreoffice-7.5.8.2-r2.ebuild
@@ -415,6 +415,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
diff --git a/app-office/libreoffice/libreoffice-7.5.8.2.ebuild b/app-office/libreoffice/libreoffice-7.5.8.2.ebuild
index b46394a7d063..b346307b840c 100644
--- a/app-office/libreoffice/libreoffice-7.5.8.2.ebuild
+++ b/app-office/libreoffice/libreoffice-7.5.8.2.ebuild
@@ -408,6 +408,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
diff --git a/app-office/libreoffice/libreoffice-9999.ebuild b/app-office/libreoffice/libreoffice-9999.ebuild
index a706f71b5698..7eec09df7595 100644
--- a/app-office/libreoffice/libreoffice-9999.ebuild
+++ b/app-office/libreoffice/libreoffice-9999.ebuild
@@ -405,6 +405,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