Skip to content

Commit

Permalink
workaround no longer needed for apple silicon?
Browse files Browse the repository at this point in the history
  • Loading branch information
sbeamer committed Jan 11, 2024
1 parent 640b522 commit bc77eca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions riscv-gnu-toolchain.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ def install

# Workaround for M1
# See https://github.com/riscv/homebrew-riscv/issues/47
system "sed", "-i", ".bak", "s/.*=host-darwin.o$//", "gcc/gcc/config.host"
system "sed", "-i", ".bak", "s/.* x-darwin.$//", "gcc/gcc/config.host"
# 2024-01-11 Commenting out because no longer needed?
# system "sed", "-i", ".bak", "s/.*=host-darwin.o$//", "gcc/gcc/config.host"
# system "sed", "-i", ".bak", "s/.* x-darwin.$//", "gcc/gcc/config.host"

system "./configure", *args
system "make"
Expand Down

0 comments on commit bc77eca

Please sign in to comment.