This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-daemon.git
The following commit(s) were added to refs/heads/master by this push: new d8c956d Add LoongArch64 support d8c956d is described below commit d8c956d7fd7b82b67f5e2e3c136c00765091f8c5 Author: Jingyun Hua <huajing...@loongson.cn> AuthorDate: Wed May 17 14:05:01 2023 +0800 Add LoongArch64 support Signed-off-by: Jingyun Hua <huajing...@loongson.cn> --- src/native/unix/support/apsupport.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/native/unix/support/apsupport.m4 b/src/native/unix/support/apsupport.m4 index c58e2a7..dbca23f 100644 --- a/src/native/unix/support/apsupport.m4 +++ b/src/native/unix/support/apsupport.m4 @@ -185,6 +185,10 @@ AC_DEFUN(AP_SUPPORTED_HOST,[ CFLAGS="$CFLAGS -DCPU=\\\"riscv64\\\"" HOST_CPU=riscv64 ;; + loongarch64) + CFLAGS="$CFLAGS -DCPU=\\\"loongarch64\\\"" + HOST_CPU=loongarch64 + ;; *) AC_MSG_RESULT([failed]) AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;