This commit is contained in:
Gogs 2016-12-03 10:44:05 +00:00
commit 10a8084ef1
1 changed files with 12 additions and 3 deletions

View File

@ -14,9 +14,18 @@ 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
# for go