summaryrefslogtreecommitdiffstats
path: root/setup_env.sh
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-08-13 20:44:37 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-08-13 20:44:37 (GMT)
commit3f8b10c033bbfeef57b39e6178f45165d1540ad9 (patch)
treee5c45efc6a90a6942ca6024752dbc1869fc9ea6b /setup_env.sh
parent7d94828393cc26fbb4951f88794bf8d7636fbc81 (diff)
downloadlinhes_dev-3f8b10c033bbfeef57b39e6178f45165d1540ad9.zip
setup_env.sh: correct underscore to dash for march 64 bit
Diffstat (limited to 'setup_env.sh')
-rwxr-xr-xsetup_env.sh2
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"