Description: add support for new arch Loongarch64
 This patch adds platform detection support for the loong64 architecture.
 .
Author: yalingfang <fangyaling@loongson.cn>
Forwarded: not-needed
Bug-Debian:: #1050486

---
Last-Update: 2024-12-27

--- netw-ib-ox-ag-5.39.0.orig/src/netwib-src/src/genemake
+++ netw-ib-ox-ag-5.39.0/src/netwib-src/src/genemake
@@ -130,6 +130,9 @@ case $unamem in
   "riscv64" )
     NETWIBDEF_SYSARCH="riscv64"
     ;;
+  "loongarch64" )
+    NETWIBDEF_SYSARCH="loongarch64"
+    ;;
   * )
     echo "Error: Could not guess NETWIBDEF_SYSARCH.";
     echo "Edit genemake to set NETWIBDEF_SYSARCH, and rerun genemake.";
