diff --git a/build/make/configure.sh b/build/make/configure.sh
index 581042e..56a67d1 100644
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -783,6 +783,10 @@ process_common_toolchain() {
       loongarch64*)
         tgt_isa=loongarch64
         ;;
+      riscv64*)
+        tgt_isa=riscv64
+        ;;
+
     esac
 
     # detect tgt_os
diff --git a/configure b/configure
index beea650..51e19e4 100755
--- a/configure
+++ b/configure
@@ -119,6 +119,7 @@ all_platforms="${all_platforms} loongarch64-linux-gcc"
 all_platforms="${all_platforms} mips32-linux-gcc"
 all_platforms="${all_platforms} mips64-linux-gcc"
 all_platforms="${all_platforms} ppc64le-linux-gcc"
+all_platforms="${all_platforms} riscv64-linux-gcc"
 all_platforms="${all_platforms} sparc-solaris-gcc"
 all_platforms="${all_platforms} x86-android-gcc"
 all_platforms="${all_platforms} x86-darwin8-gcc"
