diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-08-04 14:38:45 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-08-04 14:38:45 +0200 |
commit | bb5d0170aad441b0b43d972164aa63d54c29384d (patch) | |
tree | aff395e69c5b460559049badd48765e21c6bb5d1 /core/mkinitcpio-busybox/PKGBUILD | |
parent | 5bf75e7deb360f16492d76497a650e67ad09459d (diff) |
Fix mkinitcpio-busybox build.
Diffstat (limited to 'core/mkinitcpio-busybox/PKGBUILD')
-rw-r--r-- | core/mkinitcpio-busybox/PKGBUILD | 4 |
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 |