Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libreoffice-fresh/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-07-08 19:11:43 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-07-08 19:11:43 +0200
commit4db6089fded3b6e792300bf3c71f2fb73fd88311 (patch)
tree449960de74146e84771677df28c78381e909db3e /extra/libreoffice-fresh/PKGBUILD
parent414bfe106936c6bbeae47e1bd361e94a473ae394 (diff)
extra/libreoffice-frsh: --disable-lto
Diffstat (limited to 'extra/libreoffice-fresh/PKGBUILD')
-rw-r--r--extra/libreoffice-fresh/PKGBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/extra/libreoffice-fresh/PKGBUILD b/extra/libreoffice-fresh/PKGBUILD
index 0f70119b..9d0822a1 100644
--- a/extra/libreoffice-fresh/PKGBUILD
+++ b/extra/libreoffice-fresh/PKGBUILD
@@ -17,3 +17,11 @@ fi
if [ "$CARCH" = 'i486' ]; then
makedepends=(${makedepends[@]//plasma-framework/})
fi
+
+# no LTO
+eval "$(
+ declare -f build | \
+ sed '
+ s/--enable-lto/--disable-lto/
+ '
+)"