From 78695eb73c9b3a13fdae3597de91f4d6564baffe Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Tue, 23 Sep 2014 09:06:03 +0300 Subject: [PATCH] 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? --- bashrc | 4 ++-- zshrc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bashrc b/bashrc index c4bf94d9..75495776 100644 --- a/bashrc +++ b/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 diff --git a/zshrc b/zshrc index 1aedcc5e..e866c1d5 100644 --- a/zshrc +++ b/zshrc @@ -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