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 MATLABPATH=$HOME/.matlab2
|
||||||
export GOPATH="$HOME/.config/go"
|
export GOPATH="$HOME/.config/go"
|
||||||
|
|
||||||
# I want clang as default compiler
|
# I want clang as default compiler if it exists
|
||||||
export CC="clang"
|
command -v clang > /dev/null 2>&1
|
||||||
export CXX="clang++"
|
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
|
export WINEDEBUG=-all
|
||||||
|
|
Loading…
Reference in New Issue