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 0f28ad90d..334c3c4a9 100644
--- a/core/xfsprogs/PKGBUILD
+++ b/core/xfsprogs/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=xfsprogs
pkgver=3.1.8
pkgrel=2
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=('f70b2e7200d4c29f0af1cf70e7be1db6')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export OPTIMIZER="-march=${CARCH/_/-} -O1"
+ [ "$CARCH" = "mips64el" ] && export OPTIMIZER="-mabi=n32 -march=loongson2f -O1"
export DEBUG=-DNDEBUG
./configure --prefix=/usr
make