Description: Add support for loongarch64 
Last-Update: 2023-09-14

--- a/src/native/unix/support/apsupport.m4
+++ b/src/native/unix/support/apsupport.m4
@@ -191,6 +191,10 @@
     supported_os="riscv64"
     HOST_CPU=riscv64
     ;;
+  loongarch64)
+    CFLAGS="$CFLAGS -DCPU=\\\"loong64\\\""
+    HOST_CPU=loong64
+    ;;
   *)
     AC_MSG_RESULT([failed])
     AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;
