diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/mkinitcpio-busybox/PKGBUILD | 2 | ||||
-rw-r--r-- | core/xfsprogs/PKGBUILD | 2 |
2 files changed, 2 insertions, 2 deletions
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 |