diff --git a/Formula/augustus.rb b/Formula/augustus.rb index 706a664bd8c86..17ff46560a94d 100644 --- a/Formula/augustus.rb +++ b/Formula/augustus.rb @@ -40,7 +40,7 @@ def install # to upstream in 2016 (see https://github.com/nextgenusfs/funannotate/issues/3). # See also https://github.com/Gaius-Augustus/Augustus/issues/64 cd "src" do - with_env("HOMEBREW_CC" => Formula["gcc"].opt_bin/"gcc-#{Formula["gcc"].version_suffix}") do + with_env("HOMEBREW_CC" => Formula["gcc"].opt_bin/"gcc-#{Formula["gcc"].linked_version.to_s.slice(/\d+/)}") do system "make" end end