summaryrefslogtreecommitdiff
path: root/core/xfsprogs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/xfsprogs/PKGBUILD')
-rw-r--r--core/xfsprogs/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/xfsprogs/PKGBUILD b/core/xfsprogs/PKGBUILD
index 962f08b0f..9d01c2a9b 100644
--- a/core/xfsprogs/PKGBUILD
+++ b/core/xfsprogs/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=xfsprogs
pkgver=3.1.5
pkgrel=1
pkgdesc="XFS filesystem utilities"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://oss.sgi.com/projects/xfs/"
groups=('base')
@@ -17,6 +17,7 @@ md5sums=('b1db37749e2b4149a0dd178abff956be')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export OPTIMIZER="-march=${CARCH/_/-} -O1"
+ [ "$CARCH" = "mips64el" ] && export OPTIMIZER="-mabi=n32 -march=loongson2f -O1"
export DEBUG=-DNDEBUG
make
}