mirror of
https://github.com/bol-van/zapret.git
synced 2025-01-02 12:29:47 +00:00
Merge pull request #989 from Hi-Angel/march=native
Use `-march=native` when building from install_easy.sh
This commit is contained in:
commit
bc463930aa
@ -70,7 +70,7 @@ check_bins()
|
|||||||
elif [ -f "$EXEDIR/Makefile" ] && exists make; then
|
elif [ -f "$EXEDIR/Makefile" ] && exists make; then
|
||||||
echo trying to compile
|
echo trying to compile
|
||||||
[ "$SYSTEM" = "macos" ] && make_target=mac
|
[ "$SYSTEM" = "macos" ] && make_target=mac
|
||||||
make -C "$EXEDIR" $make_target || {
|
CFLAGS="-march=native ${CFLAGS}" make -C "$EXEDIR" $make_target || {
|
||||||
echo could not compile
|
echo could not compile
|
||||||
make -C "$EXEDIR" clean
|
make -C "$EXEDIR" clean
|
||||||
exitp 8
|
exitp 8
|
||||||
@ -772,7 +772,6 @@ deoffload_openwrt_firewall()
|
|||||||
else
|
else
|
||||||
echo system wide software flow offloading disabled. ok
|
echo system wide software flow offloading disabled. ok
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user