diff options
-rw-r--r-- | community/john/PKGBUILD | 2 | ||||
-rw-r--r-- | community/toolame/PKGBUILD | 2 | ||||
-rw-r--r-- | core/mkinitcpio-busybox/PKGBUILD | 2 | ||||
-rw-r--r-- | core/xfsprogs/PKGBUILD | 2 |
4 files changed, 4 insertions, 4 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 } diff --git a/core/mkinitcpio-busybox/PKGBUILD b/core/mkinitcpio-busybox/PKGBUILD index c0e94f2b0..85af29111 100644 --- a/core/mkinitcpio-busybox/PKGBUILD +++ b/core/mkinitcpio-busybox/PKGBUILD @@ -23,7 +23,7 @@ build() { case $CARCH in mips64el) - local safeflags='loongson2f -O2 -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -Os -pipe -fno-strict-aliasing' ;; + local safeflags='mips3 -mtune=loongson2f -O2 -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -Os -pipe -fno-strict-aliasing' ;; *) local safeflags="${CARCH/_/-} -mtune=generic -Os -pipe -fno-strict-aliasing" ;; esac diff --git a/core/xfsprogs/PKGBUILD b/core/xfsprogs/PKGBUILD index 80edf9eee..c56832ad2 100644 --- a/core/xfsprogs/PKGBUILD +++ b/core/xfsprogs/PKGBUILD @@ -17,7 +17,7 @@ md5sums=('d6159f7a664d95b4c150d580399d4400') build() { cd "${srcdir}/${pkgname}-${pkgver}" export OPTIMIZER="-march=${CARCH/_/-} -O1" - [ "$CARCH" = "mips64el" ] && export OPTIMIZER="-mabi=n32 -march=loongson2f -O1" + [ "$CARCH" = "mips64el" ] && export OPTIMIZER="-mabi=n32 -march=mips3 -mtune=loongson2f -O1" export DEBUG=-DNDEBUG ./configure --prefix=/usr make |