Add C and CXX flags
This commit is contained in:
parent
e60081a69d
commit
4f2016d827
1 changed files with 2 additions and 0 deletions
|
@ -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 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
|
if [ -n "$(command -v clang)" ]; then
|
||||||
export CC=clang
|
export CC=clang
|
||||||
|
|
Loading…
Reference in a new issue