summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/libreoffice/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/libreoffice/PKGBUILD b/extra/libreoffice/PKGBUILD
index 86bff1feb..a134d7d9e 100644
--- a/extra/libreoffice/PKGBUILD
+++ b/extra/libreoffice/PKGBUILD
@@ -261,7 +261,9 @@ build() {
patch -Np1 -i ${srcdir}/pdfimport.diff
patch -Np1 -i ${srcdir}/poppler-buildfix.diff
patch -Np1 -i ${srcdir}/build-without-glib-poppler-bindings.diff
-
+ # Checks if --hash-style is accepted, not if --hash-style=both is accepted.
+ [ "${CARCH}" = "mips64el" ] && sed -i 's/--hash-style=both/--hash-style=sysv/' ${srcdir}/build/solenv/gbuild/platform/unxgcc.mk
+
# unset C(XX)FLAGS
# http://www.openoffice.org/issues/show_bug.cgi?id=103205
# unset CFLAGS