summaryrefslogtreecommitdiff
path: root/community/toolame
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-01-28 18:13:11 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-01-28 18:13:11 +0100
commit4271567f09adb2f9c7995fdbee811becdaba5525 (patch)
tree79a5ac7fa768fde011750130dcd880c8d2701246 /community/toolame
parent01346da4de50d9eda2660653fcaae6c1abfaa28a (diff)
Don't pass -march=loongson2f in PKGBUILDs.
This needs a proper fix of not replacing user's CFLAGS and fixing the issues leading to this workaround.
Diffstat (limited to 'community/toolame')
-rw-r--r--community/toolame/PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/community/toolame/PKGBUILD b/community/toolame/PKGBUILD
index e824c46b5..a9545a94c 100644
--- a/community/toolame/PKGBUILD
+++ b/community/toolame/PKGBUILD
@@ -20,7 +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
+ [ "$CARCH" = "mips64el" ] && sed -i "s|-march=i686|-march=mips3 -mtune=loongson2f|g" Makefile
make
install -D -m755 toolame $pkgdir/usr/bin/toolame
}