aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 9609e608e..2609c1315 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -351,7 +351,11 @@ class Formula
that we can update the formula accordingly. Thanks!
EOS
puts
- puts "If it doesn't work you can: brew install --use-gcc"
+ if xcode_version < "4.2"
+ puts "If it doesn't work you can: brew install --use-gcc"
+ else
+ puts "If it doesn't work you can try: brew install --use-clang"
+ end
puts
end
end