formula.rb: Change fails_with_llvm for XCode 4.2

Suggest trying `--use-clang` instead of `--use-gcc` (which does nothing).

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Charlie Sharpsteen 2011-10-25 11:55:09 -07:00 committed by Adam Vandenberg
parent ea4d1f6b7b
commit ec71780612

View File

@ -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