From 7b35c2fc0fdb734646a5d9cfd37630ff34fa85e1 Mon Sep 17 00:00:00 2001 From: Sun Haiyong Date: Wed, 22 Dec 2021 15:02:21 +0800 Subject: [PATCH] Add loongarch architecture support. --- automake.spec | 5 ++++- config.guess | 3 +++ config.sub | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/automake.spec b/automake.spec index 259d3e3..1b0aa17 100644 --- a/automake.spec +++ b/automake.spec @@ -4,7 +4,7 @@ Name: automake Version: 1.16.2 -Release: 3 +Release: 4 Summary: A tool for automatically generating Makefile.in files License: GPLv2+ and GFDL and Public Domain and MIT URL: http://www.gnu.org/software/automake/ @@ -76,6 +76,9 @@ fi %{_mandir}/man1/* %changelog +* Wed Dec 22 2021 Sunhaiyong - 1.16.2-4 +- Add loongarch support. + * Fri Jul 30 2021 panxiaohe - 1.16.2-3 - Support -fno-common in vala-mix2 test diff --git a/config.guess b/config.guess index 256083a..38a3a94 100644 --- a/config.guess +++ b/config.guess @@ -964,6 +964,9 @@ EOF k1om:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; + loongarch64:Linux:*:* | loongarch32:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; m32r*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; diff --git a/config.sub b/config.sub index 20f7cf2..f1773ed 100644 --- a/config.sub +++ b/config.sub @@ -285,6 +285,7 @@ case $basic_machine in | k1om \ | le32 | le64 \ | lm32 \ + | loongarch64 | loongarch32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ @@ -415,6 +416,7 @@ case $basic_machine in | k1om-* \ | le32-* | le64-* \ | lm32-* \ + | loongarch64 | loongarch32 \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ -- Gitee