diff --git a/src/native/unix/support/apsupport.m4 b/src/native/unix/support/apsupport.m4 index d9e94fb..51819b4 100644 --- a/src/native/unix/support/apsupport.m4 +++ b/src/native/unix/support/apsupport.m4 @@ -177,7 +177,13 @@ AC_DEFUN(AP_SUPPORTED_HOST,[ aarch64*) CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\"" supported_os="aarch64" - HOST_CPU=aarch64;; + HOST_CPU=aarch64 + ;; + riscv64) + CFLAGS="$CFLAGS -DCPU=\\\"riscv64\\\"" + supported_os="riscv64" + HOST_CPU=riscv64 + ;; *) AC_MSG_RESULT([failed]) AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;