From a5d3dc9800f26f7ca5ddf75c2836454cd6d4fd3d Mon Sep 17 00:00:00 2001 From: zhaixiaojuan Date: Sat, 15 Apr 2023 15:51:22 +0800 Subject: [PATCH] Add support for loongarch64 --- bindings/java/hyperic_jni/src/org/hyperic/jni/ArchNameTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/java/hyperic_jni/src/org/hyperic/jni/ArchNameTask.java b/bindings/java/hyperic_jni/src/org/hyperic/jni/ArchNameTask.java index 4cf53924f..a94b97a5c 100644 --- a/bindings/java/hyperic_jni/src/org/hyperic/jni/ArchNameTask.java +++ b/bindings/java/hyperic_jni/src/org/hyperic/jni/ArchNameTask.java @@ -75,7 +75,7 @@ else if (ArchLoader.IS_AIX) { if (ArchName.is64()) { getProject().setProperty("jni.arch64", "true"); if (ArchLoader.IS_LINUX) { - if (!osArch.equals("ia64")) { + if (!osArch.equals("ia64") && !osArch.equals("loongarch64")) { getProject().setProperty("jni.gccm", "-m64"); } }