Skip to content
Snippets Groups Projects
Commit 3f11f1a0 authored by Jack Nagel's avatar Jack Nagel
Browse files

Eliminate special case for core gcc

parent 2db59be4
No related branches found
No related tags found
No related merge requests found
......@@ -221,21 +221,10 @@ module SharedEnvExtension
EOS
end
if gcc_formula.name == "gcc"
return if gcc_formula.opt_prefix.exist?
unless gcc_formula.opt_prefix.exist?
raise <<-EOS.undent
The Homebrew GCC was not installed.
You must:
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}
The requested Homebrew GCC was not installed. You must:
brew install #{gcc_formula.full_name}
EOS
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment