Browse Source

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.
tags/v0.3.22^2
xctan GitHub 2 years ago
parent
commit
6a0de3aa39
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      cmake/arch.cmake

+ 5
- 0
cmake/arch.cmake 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 ()


Loading…
Cancel
Save