Eliminate special case for core gcc
This commit is contained in:
parent
2db59be452
commit
3f11f1a0de
@ -221,21 +221,10 @@ module SharedEnvExtension
|
|||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
|
||||||
if gcc_formula.name == "gcc"
|
unless gcc_formula.opt_prefix.exist?
|
||||||
return if gcc_formula.opt_prefix.exist?
|
|
||||||
raise <<-EOS.undent
|
raise <<-EOS.undent
|
||||||
The Homebrew GCC was not installed.
|
The requested Homebrew GCC was not installed. You must:
|
||||||
You must:
|
brew install #{gcc_formula.full_name}
|
||||||
brew install gcc
|
|
||||||
EOS
|
|
||||||
end
|
|
||||||
|
|
||||||
if !gcc_formula.opt_prefix.exist?
|
|
||||||
raise <<-EOS.undent
|
|
||||||
The requested Homebrew GCC, #{gcc_version_name}, was not installed.
|
|
||||||
You must:
|
|
||||||
brew tap homebrew/versions
|
|
||||||
brew install #{gcc_version_name}
|
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user