From afa5d95bb4cc616abc3132038a18392100a1ab91 Mon Sep 17 00:00:00 2001 From: Markus Prinz Date: Sun, 6 Mar 2011 12:36:48 +0100 Subject: [PATCH] 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 --- Library/Homebrew/cmd/doctor.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 3e5901d474..bbab724e63 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