mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-16 16:29:23 +01:00
rc: also use clang with homebrew/linuxbrew
ref: https://github.com/Homebrew/linuxbrew/issues/415#issuecomment-106058234
This commit is contained in:
parent
47b05e1bd9
commit
4b3708d888
@ -809,6 +809,7 @@ erase-mbr() {
|
|||||||
# place for this.
|
# place for this.
|
||||||
if hash clang 2>/dev/null; then
|
if hash clang 2>/dev/null; then
|
||||||
export CC=clang
|
export CC=clang
|
||||||
|
export HOMEBREW_CC=clang
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if hash clang++ 2>/dev/null; then
|
if hash clang++ 2>/dev/null; then
|
||||||
|
Loading…
Reference in New Issue
Block a user