rc: also use clang with homebrew/linuxbrew

ref:
https://github.com/Homebrew/linuxbrew/issues/415#issuecomment-106058234
This commit is contained in:
Aminda Suomalainen 2015-05-28 07:01:39 +03:00
parent 47b05e1bd9
commit 4b3708d888
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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