Allow older non-Apple GCCs to build things
This commit is contained in:
parent
ba06e2504c
commit
45e7f0ccb0
@ -183,7 +183,7 @@ module SharedEnvExtension
|
|||||||
begin
|
begin
|
||||||
gcc_name = 'gcc' + gcc.delete('.')
|
gcc_name = 'gcc' + gcc.delete('.')
|
||||||
gcc = Formulary.factory(gcc_name)
|
gcc = Formulary.factory(gcc_name)
|
||||||
if !gcc.installed?
|
if !gcc.opt_prefix.exist?
|
||||||
raise <<-EOS.undent
|
raise <<-EOS.undent
|
||||||
The requested Homebrew GCC, #{gcc_name}, was not installed.
|
The requested Homebrew GCC, #{gcc_name}, was not installed.
|
||||||
You must:
|
You must:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user