diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 9609e608e6..2609c13151 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