Browse Source

Merge pull request #989 from Hi-Angel/march=native

Use `-march=native` when building from install_easy.sh
pull/1017/head
bol-van 7 months ago
committed by GitHub
parent
commit
bc463930aa
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      install_easy.sh

3
install_easy.sh

@ -70,7 +70,7 @@ check_bins()
elif [ -f "$EXEDIR/Makefile" ] && exists make; then
echo trying to compile
[ "$SYSTEM" = "macos" ] && make_target=mac
make -C "$EXEDIR" $make_target || {
CFLAGS="-march=native ${CFLAGS}" make -C "$EXEDIR" $make_target || {
echo could not compile
make -C "$EXEDIR" clean
exitp 8
@ -772,7 +772,6 @@ deoffload_openwrt_firewall()
else
echo system wide software flow offloading disabled. ok
fi
}

Loading…
Cancel
Save