diff options
| author | Mike McQuaid | 2011-03-14 21:00:30 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2011-03-14 21:00:51 +0000 |
| commit | 80f98a1a199c972c79e36bb12d64610574bcb054 (patch) | |
| tree | 0ad9d7ebe2c4ab508b9d1286e1849be520738d51 /Library/Homebrew/cmd | |
| parent | 87529a8cddea5219f58be778249dbf1b823608d6 (diff) | |
| download | brew-80f98a1a199c972c79e36bb12d64610574bcb054.tar.bz2 | |
Don't make brew doctor complain about Xcode 4.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 19 |
1 files changed, 0 insertions, 19 deletions
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 |
