diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index f92ce058a8..ead2bfcce2 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -610,19 +610,6 @@ class Checks end end - # Xcode 7 lacking the 10.10 SDK is forcing sysroot to be declared - # nil on 10.10 & breaking compiles. CLT is workaround. - def check_sdk_path_not_nil_yosemite - if MacOS.version == :yosemite && !MacOS::CLT.installed? && MacOS::Xcode.installed? && MacOS.sdk_path.nil? - <<-EOS.undent - Xcode 7 lacks the 10.10 SDK which can cause some builds to fail. - We recommend installing the Command Line Tools with: - xcode-select --install - to resolve this issue. - EOS - end - end - def check_user_path_1 $seen_prefix_bin = false $seen_prefix_sbin = false