diff options
-rwxr-xr-x | setup_env.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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" |