On 11/5/24 13:53, Richard Henderson wrote:
Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
configure | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 2f7c580..39275a2 100755
--- a/configure
+++ b/configure
@@ -54,6 +54,8 @@ guess_arch() {
ARCH="arm"
elif check_define __i386__ || check_define __x86_64__ ; then
ARCH="i386"
+ elif check_define __loongarch__ ; then
+ ARCH="loongarch64"
elif check_define __m68k__ ; then
ARCH="m68k"
elif check_define __powerpc64__ ; then
@@ -141,7 +143,7 @@ Some influential environment variables:
prefixed with the given string.
ARCH force target architecture instead of trying to detect it.
- Valid values=[arm|aarch64|m68k|ppc64|ppc64le|s390x]
+ Valid values=[arm|aarch64|loongarch64|m68k|ppc64|ppc64le|s390x]
CC C compiler command
CFLAGS C compiler flags
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>