diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-08-13 20:44:37 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-08-13 20:44:37 (GMT) |
commit | 3f8b10c033bbfeef57b39e6178f45165d1540ad9 (patch) | |
tree | e5c45efc6a90a6942ca6024752dbc1869fc9ea6b | |
parent | 7d94828393cc26fbb4951f88794bf8d7636fbc81 (diff) | |
download | linhes_dev-3f8b10c033bbfeef57b39e6178f45165d1540ad9.zip |
setup_env.sh: correct underscore to dash for march 64 bit
-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" |