Use gcc instead of apple-gcc42 when needed.

This commit is contained in:
Mike McQuaid 2014-04-15 13:18:04 +01:00
parent 317a91bc1c
commit 165fdf4617
2 changed files with 2 additions and 2 deletions

View File

@ -278,7 +278,7 @@ class Test
CompilerSelector.new(formula_object).compiler
rescue CompilerSelectionError => e
unless installed_gcc
test "brew install apple-gcc42"
test "brew install gcc"
installed_gcc = true
retry
end

View File

@ -224,7 +224,7 @@ class CompilerSelectionError < Homebrew::InstallationError
super f, <<-EOS.undent
#{f.name} cannot be built with any available compilers.
To install this formula, you may need to:
brew install apple-gcc42
brew install gcc
EOS
end
end