Add missing RISC-V architecture in arch.cmake

RISC-V support exists in Makefile.system but is missing in arch.cmake. This patch adds riscv64 platform support to cmake building system just like 039e27545f/Makefile.system (L830-L832) did.
This commit is contained in:
xctan
2023-02-26 20:21:57 +08:00
committed by GitHub
parent 039e27545f
commit 6a0de3aa39

View File

@@ -135,3 +135,8 @@ if (ARM64)
set(BINARY_DEFINED 1)
endif ()
if (${ARCH} STREQUAL "riscv64")
set(NO_BINARY_MODE 1)
set(BINARY_DEFINED 1)
endif ()