Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libreoffice-still/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-07-08 19:11:27 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-07-08 19:11:27 +0200
commit414bfe106936c6bbeae47e1bd361e94a473ae394 (patch)
treee9605fe93d26af0a965c72e0601bfb5c33217f54 /extra/libreoffice-still/PKGBUILD
parenteeef333e0a8ce195781c898813e38eded299bdaa (diff)
extra/libreoffice-still: --disable-lto
Diffstat (limited to 'extra/libreoffice-still/PKGBUILD')
-rw-r--r--extra/libreoffice-still/PKGBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/extra/libreoffice-still/PKGBUILD b/extra/libreoffice-still/PKGBUILD
index 0f70119b..9d0822a1 100644
--- a/extra/libreoffice-still/PKGBUILD
+++ b/extra/libreoffice-still/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/
+ '
+)"