From 3f8b10c033bbfeef57b39e6178f45165d1540ad9 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 13 Aug 2013 15:44:37 -0500 Subject: setup_env.sh: correct underscore to dash for march 64 bit --- setup_env.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup_env.sh b/setup_env.sh index 3c40231..63c57b4 100755 --- a/setup_env.sh +++ b/setup_env.sh @@ -205,6 +205,8 @@ printf "%s\n" "********************************************************" #copy makepkg.conf into the chroot su -c "sed -e "s/REPLACEME/$ARCH/g" templates/makepkg.conf > ../build_root.$ARCH/etc/makepkg.conf" +#correct underscore to dash for march for 64 bit +su -c "sed -i "s/-march=x86_64/-march=x86-64/g" ../build_root.$ARCH/etc/makepkg.conf" #copy pacman.conf into the chroot su -c "sed -e "s/REPLACEME/$ARCH/g" templates/pacman.conf.chroot > ../build_root.$ARCH/etc/pacman.conf" -- cgit v0.12