Merge pull request #4169 from felixonmars/patch-1

Use defined variable for riscv64 in arch.cmake
This commit is contained in:
Martin Kroeker 2023-08-12 17:20:56 +02:00 committed by GitHub
commit 562ef5fdca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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