Use gcc instead of apple-gcc42 when needed.
This commit is contained in:
parent
317a91bc1c
commit
165fdf4617
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user