Skip to content

Commit

Permalink
formula.rb: Change fails_with_llvm for XCode 4.2
Browse files Browse the repository at this point in the history
Suggest trying `--use-clang` instead of `--use-gcc` (which does nothing).

Signed-off-by: Adam Vandenberg <[email protected]>
  • Loading branch information
Sharpie authored and adamv committed Dec 3, 2011
1 parent 67a2615 commit 9b6b9af
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Library/Homebrew/formula.rb
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,11 @@ def handle_llvm_failure llvm
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
Expand Down

0 comments on commit 9b6b9af

Please sign in to comment.