Skip to content

Commit e37d39d

Browse files
authored
Sync the binutils name with riscv-gnu-toolchain repo (#91)
* Sync the binutils name with riscv-gnu-toolchain repo Rename binutils submodule name sync with riscv-gnu-toolchain repo Signed-off-by: Jiawei <[email protected]> * Update riscv-gnu-toolchain.rb Update name for gcc submodules. Signed-off-by: Jiawei <[email protected]> Signed-off-by: Jiawei <[email protected]>
1 parent 63b502d commit e37d39d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

riscv-gnu-toolchain.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)