summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2013-01-01 06:35:44 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2013-01-01 06:35:44 -0500
commit3a66cabeb976b832e1e73be39a3b7dfed2ec0ddc (patch)
treeb1f578e2800e46e28a4f3e02ea923b8ff1f68e66
parent7591d9552d00d92c11f1667b2b6bd8d7f25ed9c7 (diff)
Fix build in tolame
-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
}