summaryrefslogtreecommitdiff
path: root/core/mkinitcpio-busybox/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-08-04 14:38:45 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-08-04 14:38:45 +0200
commitbb5d0170aad441b0b43d972164aa63d54c29384d (patch)
treeaff395e69c5b460559049badd48765e21c6bb5d1 /core/mkinitcpio-busybox/PKGBUILD
parent5bf75e7deb360f16492d76497a650e67ad09459d (diff)
Fix mkinitcpio-busybox build.
Diffstat (limited to 'core/mkinitcpio-busybox/PKGBUILD')
-rw-r--r--core/mkinitcpio-busybox/PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/mkinitcpio-busybox/PKGBUILD b/core/mkinitcpio-busybox/PKGBUILD
index 2c3b14347..f2ff77bab 100644
--- a/core/mkinitcpio-busybox/PKGBUILD
+++ b/core/mkinitcpio-busybox/PKGBUILD
@@ -23,9 +23,9 @@ prepare() {
case $CARCH in
mips64el)
- local safeflags='mips3 -mtune=loongson2f -O2 -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -Os -pipe -fno-strict-aliasing' ;;
+ local safeflags='-march=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" ;;
+ local safeflags="-march=${CARCH/_/-} -mtune=generic -Os -pipe -fno-strict-aliasing" ;;
esac
sed 's|^\(CONFIG_EXTRA_CFLAGS\)=.*|\1="'"$safeflags"'"|' "$srcdir/config" >.config