Add support for Linux RISC-V 64 (#1159)

This commit is contained in:
Glavo authored and GitHub committed 2025-07-27 22:07:07 +08:00
1 parent 7dc5988620
commit e70eed74e2
3 files changed
+12 -1

No files matched your search

+2
View File
@@ -15,6 +15,8 @@ if [[ $OS =~ ^ubuntu.*$ ]]; then
# if target is mips or mipsel, we should use soft-float version of musl
if [[ $TARGET =~ ^mips.*$ || $TARGET =~ ^mipsel.*$ ]]; then
MUSL_TARGET=${TARGET}sf
elif [[ $TARGET =~ ^riscv64gc-.*$ ]]; then
MUSL_TARGET=${TARGET/#riscv64gc-/riscv64-}
fi
if [[ $MUSL_TARGET =~ musl ]]; then
mkdir -p ./musl_gcc