Use defined variable for riscv64 in arch.cmake

It's defined in #4137
This commit is contained in:
Felix Yan 2023-07-28 04:50:16 +03:00 committed by GitHub
parent 5720fa02c5
commit 007cd834c1
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 ()