From 80f98a1a199c972c79e36bb12d64610574bcb054 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 14 Mar 2011 21:00:30 +0000 Subject: Don't make brew doctor complain about Xcode 4. --- Library/Homebrew/cmd/doctor.rb | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 23ee7fd85..5ada729b5 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -136,24 +136,6 @@ def check_gcc_versions end end -def check_cc_symlink - which_cc = Pathname.new('/usr/bin/cc').realpath.basename.to_s - if which_cc == "llvm-gcc-4.2" - puts <<-EOS.undent - You changed your cc to symlink to llvm. - 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_USE_LLVM" environmental - variable, or pass "--use-llvm" to "brew install". - - To force Homebrew to use gcc, you can set the "HOMEBREW_USE_GCC" environmental - variable, or pass "--use-gcc" to "brew install". - - EOS - end -end - def __check_subdir_access base target = HOMEBREW_PREFIX+base return unless target.exist? @@ -613,7 +595,6 @@ module Homebrew extend self check_for_macgpg2 check_for_stray_dylibs check_gcc_versions - check_cc_symlink check_for_other_package_managers check_for_x11 check_for_nonstandard_x11 -- cgit v1.2.3