aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/macos.rb14
1 files changed, 11 insertions, 3 deletions
diff --git a/Library/Homebrew/macos.rb b/Library/Homebrew/macos.rb
index 933070c9f..191d7596b 100644
--- a/Library/Homebrew/macos.rb
+++ b/Library/Homebrew/macos.rb
@@ -197,10 +197,18 @@ module MacOS extend self
def compilers_standard?
xcode = Xcode.version
- # Assume compilers are okay if Xcode version not in hash
- return true unless StandardCompilers.keys.include? xcode
- StandardCompilers[xcode].all? {|k,v| MacOS.send(k) == v}
+ unless StandardCompilers.keys.include? xcode
+ onoe <<-EOS.undent
+ Homebrew doesn't know what compiler versions ship with your version of
+ Xcode. Please file an issue with the output of `brew --config`:
+ https://github.com/mxcl/homebrew/issues
+
+ Thanks!
+ EOS
+ end
+
+ StandardCompilers[xcode].all? { |method, build| MacOS.send(method) == build }
end
def app_with_bundle_id id