support build from source on risc64

This commit is contained in:
maple@max 2025-01-27 18:42:39 +08:00
parent 0f1bfe99ce
commit f6cbbce6f1
1 changed files with 2 additions and 0 deletions

View File

@ -78,6 +78,8 @@ else ifeq ($(shell echo $(LOCAL_ARCH) | head -c 4),armv)
TARGET_ARCH ?= arm TARGET_ARCH ?= arm
else ifeq ($(LOCAL_ARCH),s390x) else ifeq ($(LOCAL_ARCH),s390x)
TARGET_ARCH ?= s390x TARGET_ARCH ?= s390x
else ifeq ($(LOCAL_ARCH),riscv64)
TARGET_ARCH ?= riscv64
else else
$(error This system's architecture $(LOCAL_ARCH) isn't supported) $(error This system's architecture $(LOCAL_ARCH) isn't supported)
endif endif