From bc77eca69ded8791d0b246ca45e5bf73a29c1355 Mon Sep 17 00:00:00 2001 From: Scott Beamer Date: Thu, 11 Jan 2024 10:55:56 -0800 Subject: [PATCH] workaround no longer needed for apple silicon? --- riscv-gnu-toolchain.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/riscv-gnu-toolchain.rb b/riscv-gnu-toolchain.rb index 09210cc..da2b6a3 100644 --- a/riscv-gnu-toolchain.rb +++ b/riscv-gnu-toolchain.rb @@ -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"