diff --git a/rc/bashrc b/rc/bashrc index 074ecf72..3d10ec1d 100644 --- a/rc/bashrc +++ b/rc/bashrc @@ -809,6 +809,7 @@ erase-mbr() { # place for this. if hash clang 2>/dev/null; then export CC=clang + export HOMEBREW_CC=clang fi if hash clang++ 2>/dev/null; then diff --git a/rc/zshrc b/rc/zshrc index ba142c6c..62e2335e 100644 --- a/rc/zshrc +++ b/rc/zshrc @@ -798,6 +798,7 @@ erase-mbr() { # place for this. if hash clang 2>/dev/null; then export CC=clang + export HOMEBREW_CC=clang fi if hash clang++ 2>/dev/null; then