summaryrefslogtreecommitdiff
path: root/core/xfsprogs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/xfsprogs/PKGBUILD')
-rw-r--r--core/xfsprogs/PKGBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/xfsprogs/PKGBUILD b/core/xfsprogs/PKGBUILD
index 6751be9ec..9d01c2a9b 100644
--- a/core/xfsprogs/PKGBUILD
+++ b/core/xfsprogs/PKGBUILD
@@ -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
}