aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMarkus Prinz2011-03-06 12:36:48 +0100
committerAdam Vandenberg2011-03-12 11:55:08 -0800
commita517606b2f1fcba7d060c97eeb5a661303c42c8a (patch)
treea71caa819d56beae95aa788a06b9c49159b64deb /Library
parent05d175d51f35848a873f45e97e32020bf10595a7 (diff)
downloadhomebrew-a517606b2f1fcba7d060c97eeb5a661303c42c8a.tar.bz2
Have brew-doctor refer to the correct LLVM/GCC env variables
The HOMEBREW_(LLVM|GCC) variables mentioned in brew-doctor's `check_cc_symlink` method are actually named HOMEBREW_USE_(LLVM|GCC) Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/doctor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 3e5901d47..bbab724e6 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -144,10 +144,10 @@ def check_cc_symlink
This bypasses LLVM checks, and some formulae may mysteriously fail to work.
You may want to change /usr/bin/cc to point back at gcc.
- To force Homebrew to use LLVM, you can set the "HOMEBREW_LLVM" environmental
+ To force Homebrew to use LLVM, you can set the "HOMEBREW_USE_LLVM" environmental
variable, or pass "--use-llvm" to "brew install".
- To force Homebrew to use gcc, you can set the "HOMEBREW_GCC" environmental
+ To force Homebrew to use gcc, you can set the "HOMEBREW_USE_GCC" environmental
variable, or pass "--use-gcc" to "brew install".
EOS