@@ -52,8 +52,8 @@ def install
5252
5353 # need to pull in needed submodules (now that they are disabled above)
5454 system "git" , "submodule" , "update" , "--init" , "--recursive" , "newlib"
55- system "git" , "submodule" , "update" , "--init" , "--recursive" , "riscv- binutils"
56- system "git" , "submodule" , "update" , "--init" , "--recursive" , "riscv- gcc"
55+ system "git" , "submodule" , "update" , "--init" , "--recursive" , "binutils"
56+ system "git" , "submodule" , "update" , "--init" , "--recursive" , "gcc"
5757
5858 args = [
5959 "--prefix=#{ prefix } " ,
@@ -63,8 +63,8 @@ def install
6363
6464 # Workaround for M1
6565 # See https://github.com/riscv/homebrew-riscv/issues/47
66- system "sed" , "-i" , ".bak" , "s/.*=host-darwin.o$//" , "riscv- gcc/gcc/config.host"
67- system "sed" , "-i" , ".bak" , "s/.* x-darwin.$//" , "riscv- gcc/gcc/config.host"
66+ system "sed" , "-i" , ".bak" , "s/.*=host-darwin.o$//" , "gcc/gcc/config.host"
67+ system "sed" , "-i" , ".bak" , "s/.* x-darwin.$//" , "gcc/gcc/config.host"
6868
6969 system "./configure" , *args
7070 system "make"
0 commit comments