clang only if we have clang
This commit is contained in:
parent
b347504d13
commit
fbd4ae2399
|
@ -21,7 +21,16 @@ export CLASSPATH="$CLASSPATH:$HOME/.java/packages/*:$HOME/.java/packages/lib/*:/
|
|||
export MATLABPATH=$HOME/.matlab2
|
||||
export GOPATH="$HOME/.config/go"
|
||||
|
||||
# I want clang as default compiler
|
||||
export CC="clang"
|
||||
export CXX="clang++"
|
||||
# I want clang as default compiler if it exists
|
||||
command -v clang > /dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
export CC="clang"
|
||||
fi
|
||||
|
||||
command -v clang++ > /dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
export CXX="clang++"
|
||||
fi
|
||||
|
||||
# Wine Debug
|
||||
export WINEDEBUG=-all
|
||||
|
|
Loading…
Reference in New Issue