--- a/src/native/unix/support/apsupport.m4 2022-02-21 15:56:48.000000000 +0400 +++ b/src/native/unix/support/apsupport.m4 2022-02-21 15:58:01.995238670 +0400 @@ -181,6 +186,10 @@ CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\"" HOST_CPU=aarch64 ;; + riscv64) + CFLAGS="$CFLAGS -DCPU=\\\"riscv64\\\"" + HOST_CPU=riscv64 + ;; *) AC_MSG_RESULT([failed]) AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;