From 5eec88f24bd8465d05512145b80dcfa261ccad7f Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Tue, 1 Nov 2011 23:04:32 +0100 Subject: Possibly fix libreoffice ld --hash-style=both error (untested). --- extra/libreoffice/PKGBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'extra/libreoffice/PKGBUILD') 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 -- cgit v1.2.3-54-g00ecf