Add -O2 to compile
This commit is contained in:
parent
e1f9022b4e
commit
d2191564a4
1 changed files with 1 additions and 1 deletions
|
@ -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 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"
|
export CXXFLAGS="$CFLAGS"
|
||||||
|
|
||||||
if [ -n "$(command -v clang)" ]; then
|
if [ -n "$(command -v clang)" ]; then
|
||||||
|
|
Loading…
Reference in a new issue