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
commitafa5d95bb4cc616abc3132038a18392100a1ab91 (patch)
tree9c9741df1aaa613e724fc18edb43021d39ed55c4 /Library
parent2a5f757816891016d38f2f907361b2508fd08dfc (diff)
downloadbrew-afa5d95bb4cc616abc3132038a18392100a1ab91.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