Skip to content

Commit

Permalink
Add support for loongarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaixiaojuan committed Apr 15, 2023
1 parent ad47dc3 commit 68d0f09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}
Expand Down
1 change: 1 addition & 0 deletions src/os/linux/linux_sigar.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <sys/stat.h>
#include <sys/times.h>
#include <sys/utsname.h>
#include <sys/sysmacros.h>

#include "sigar.h"
#include "sigar_private.h"
Expand Down

0 comments on commit 68d0f09

Please sign in to comment.