aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/development_tools.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/development_tools.rb')
-rw-r--r--Library/Homebrew/development_tools.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Homebrew/development_tools.rb b/Library/Homebrew/development_tools.rb
index b4c2cb34b..bfa54349f 100644
--- a/Library/Homebrew/development_tools.rb
+++ b/Library/Homebrew/development_tools.rb
@@ -19,6 +19,12 @@ class DevelopmentTools
which("clang") || which("gcc")
end
+ def installation_instructions
+ "Install Clang or brew install gcc"
+ end
+ alias_method :custom_installation_instructions,
+ :installation_instructions
+
def default_cc
cc = DevelopmentTools.locate "cc"
cc.realpath.basename.to_s rescue nil