mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-08 19:32:31 +01:00
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:
parent
b9c52c921d
commit
78695eb73c
4
bashrc
4
bashrc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user