Add C and CXX flags

This commit is contained in:
Leon Grünewald 2021-10-07 00:19:52 +02:00
parent e60081a69d
commit 4f2016d827

View file

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