Skip to content
Snippets Groups Projects
Commit 45e7f0cc authored by Misty De Meo's avatar Misty De Meo
Browse files

Allow older non-Apple GCCs to build things

parent ba06e250
No related branches found
No related tags found
No related merge requests found
......@@ -183,7 +183,7 @@ module SharedEnvExtension
begin
gcc_name = 'gcc' + gcc.delete('.')
gcc = Formulary.factory(gcc_name)
if !gcc.installed?
if !gcc.opt_prefix.exist?
raise <<-EOS.undent
The requested Homebrew GCC, #{gcc_name}, was not installed.
You must:
......
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