summaryrefslogtreecommitdiff
path: root/extra/libreoffice/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2011-11-01 23:04:32 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2011-11-01 23:04:32 +0100
commit5eec88f24bd8465d05512145b80dcfa261ccad7f (patch)
treefc80cad0774133d6d652122df1627177f87361a6 /extra/libreoffice/PKGBUILD
parent7bd0feec7cdd93f21e48688ac323d8cb812d7bb6 (diff)
Possibly fix libreoffice ld --hash-style=both error (untested).
Diffstat (limited to 'extra/libreoffice/PKGBUILD')
-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