bashrc & zshrc: don't unset CC & CXX

I am not sure what I was thinking when I wrote that.

What if compiler isn't gcc or clang, but gcc is default?
This commit is contained in:
Mikaela Suomalainen 2014-09-23 09:06:03 +03:00
parent b9c52c921d
commit 78695eb73c
2 changed files with 4 additions and 4 deletions

4
bashrc
View File

@ -807,13 +807,13 @@ erase-mbr() {
if hash clang 2>/dev/null; then
export CC=clang
else
unset CC
#unset CC
fi
if hash clang++ 2>/dev/null; then
export CXX=clang++
else
unset CXX
#unset CXX
fi
# .custom

4
zshrc
View File

@ -780,13 +780,13 @@ erase-mbr() {
if hash clang 2>/dev/null; then
export CC=clang
else
unset CC
#unset CC
fi
if hash clang++ 2>/dev/null; then
export CXX=clang++
else
unset CXX
#unset CXX
fi