summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--community/toolame/PKGBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/community/toolame/PKGBUILD b/community/toolame/PKGBUILD
index 7e975d169..e824c46b5 100644
--- a/community/toolame/PKGBUILD
+++ b/community/toolame/PKGBUILD
@@ -20,6 +20,7 @@ build() {
cd $srcdir/$pkgname-$pkgver
patch -p0 < ../toolame-02l.patch
[ "$CARCH" = "x86_64" ] && sed -i "s|-march=i686|-march=x86-64|g" Makefile
+ [ "$CARCH" = "mips64el" ] && sed -i "s|-march=i686|-march=loongson2f|g" Makefile
make
install -D -m755 toolame $pkgdir/usr/bin/toolame
}