From 7d39c33cd6e428e3b597e3f2f9b370a6913b899d Mon Sep 17 00:00:00 2001 From: Dandan Zhang Date: Sat, 1 Mar 2025 07:29:42 +0000 Subject: [PATCH] Set stack direction is downwards on loongarch64 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0e96c59c..138d7fd7 100644 --- a/configure.ac +++ b/configure.ac @@ -540,7 +540,7 @@ AC_ARG_WITH(stack-direction, [with_stack_direction=unknown]) if test "${with_stack_direction}" = unknown; then case ${host_cpu} in - sparc*|i?86*|powerpc*|x86_64*|arm*|aarch64*|s390*|mips*|alpha*|ia64*) + sparc*|i?86*|powerpc*|x86_64*|arm*|aarch64*|s390*|mips*|alpha*|ia64*|loongarch64*) AC_MSG_RESULT([assuming downwards]) with_stack_direction="-1" ;;