diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/john/PKGBUILD | 2 | ||||
-rw-r--r-- | community/toolame/PKGBUILD | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/community/john/PKGBUILD b/community/john/PKGBUILD index ecf2f92a5..43470d592 100644 --- a/community/john/PKGBUILD +++ b/community/john/PKGBUILD @@ -40,7 +40,7 @@ build() { sed -i 's|^LDFLAGS =\(.*\)|LDFLAGS =\1 -lm|' Makefile sed -i -e 's|-m486||g' Makefile elif [ "$CARCH" == "mips64el" ]; then - sed -i 's|CFLAGS = -c -Wall -O2|CFLAGS = -c -Wall -O2 -march=loongson2f -DJOHN_SYSTEMWIDE=1|' Makefile + sed -i 's|CFLAGS = -c -Wall -O2|CFLAGS = -c -Wall -O2 -march=mips3 -mtune=loongson2f -DJOHN_SYSTEMWIDE=1|' Makefile #sed -i 's|^LDFLAGS =\(.*\)|LDFLAGS =\1 -lm|' Makefile else sed -i 's|CFLAGS = -c -Wall -O2|CFLAGS = -c -Wall -O2 -march=i686 -DJOHN_SYSTEMWIDE=1|' Makefile fi 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 } |