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 213b16a3d..c56832ad2 100644
--- a/core/xfsprogs/PKGBUILD
+++ b/core/xfsprogs/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=xfsprogs
pkgver=3.1.10
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=('d6159f7a664d95b4c150d580399d4400')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export OPTIMIZER="-march=${CARCH/_/-} -O1"
+ [ "$CARCH" = "mips64el" ] && export OPTIMIZER="-mabi=n32 -march=mips3 -mtune=loongson2f -O1"
export DEBUG=-DNDEBUG
./configure --prefix=/usr
make