Skip to content

Commit

Permalink
augustus: Get GCC version with public method (#58973)
Browse files Browse the repository at this point in the history
Addresses #58558 by replacing private `version_suffix` with public `linked_version`.
  • Loading branch information
gromgit authored Aug 2, 2020
1 parent 5e0c69f commit 5d5cc60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/augustus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d5cc60

Please sign in to comment.