summaryrefslogtreecommitdiff
path: root/core
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 /core
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 'core')
-rw-r--r--core/mkinitcpio-busybox/PKGBUILD2
-rw-r--r--core/xfsprogs/PKGBUILD2
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