Skip to content

Commit

Permalink
riscv-gcc needs recent gnu make to build
Browse files Browse the repository at this point in the history
  • Loading branch information
sbeamer committed Oct 26, 2024
1 parent 4be2682 commit e5c1d9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion riscv-gnu-toolchain.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class RiscvGnuToolchain < Formula

depends_on "gawk" => :build
depends_on "gnu-sed" => :build
depends_on "make" => :build
depends_on "flock" => :build
depends_on "texinfo" => :build
depends_on "gmp"
Expand Down Expand Up @@ -71,7 +72,7 @@ def install
# system "sed", "-i", ".bak", "s/.* x-darwin.$//", "gcc/gcc/config.host"

system "./configure", *args
system "make"
system "gmake"

# don't install gdb bindings if system already has them
if File.exist?("#{HOMEBREW_PREFIX}/share/gdb")
Expand Down

0 comments on commit e5c1d9a

Please sign in to comment.