Add -O2 to compile

This commit is contained in:
Leon Grünewald 2021-10-07 01:39:23 +02:00
parent e1f9022b4e
commit d2191564a4

View file

@ -2,7 +2,7 @@ export EDITOR="vim"
export MAKEOPTS="-j$(cat /proc/cpuinfo | awk -F: '$1 ~ /cpu cores/ { print $2 }' | head -n 1 | tr -d ' ')"
export CFLAGS="-march=native"
export CFLAGS="-march=native -O2"
export CXXFLAGS="$CFLAGS"
if [ -n "$(command -v clang)" ]; then