diff --git a/automake.spec b/automake.spec index 78ffc5977c35ccf9db2e801bf9ede6980ab90a6f..6206171a9317e340f7175892b3aa60781cf45052 100644 --- a/automake.spec +++ b/automake.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 %global api_version 1.16 # run "make check" by default @@ -11,7 +12,7 @@ Summary: A GNU tool for automatically creating Makefiles Name: automake Version: %{api_version}.1 -Release: 7%{?dist} +Release: 7%{anolis_release}%{?dist} # docs ~> GFDL, sources ~> GPLv2+, mkinstalldirs ~> PD and install-sh ~> MIT License: GPLv2+ and GFDL and Public Domain and MIT @@ -128,6 +129,9 @@ make -k %{?_smp_mflags} check %{?TESTS_FLAGS: TESTS="%{TESTS_FLAGS}"} \ %changelog +* Wed Nov 17 2021 Liwei Ge - 1.16.1-7.0.1 +- Support loongarch64 platform + * Tue May 05 2020 Patrik Novotný - 1.16.1-7 - Upstream patch fixing automake bug#31222 diff --git a/config.guess b/config.guess index 256083a70d35921d544b15f4f51749af89d18b89..352bec03d15388473b9e8f7d99bf7e1513349794 100755 --- a/config.guess +++ b/config.guess @@ -904,6 +904,9 @@ EOF UNAME_MACHINE=aarch64_be echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; + loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; diff --git a/config.sub b/config.sub index 20f7cf29a9ed34f61ad235a26d67c09a9a6a523d..ee7f196a26042831e48ea0aba39645d1bc6bee38 100755 --- a/config.sub +++ b/config.sub @@ -265,6 +265,7 @@ case $basic_machine in 1750a | 580 \ | a29k \ | aarch64 | aarch64_be \ + | loongarch32 | loongarch64 | loongarchx32 \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ @@ -394,6 +395,7 @@ case $basic_machine in 580-* \ | a29k-* \ | aarch64-* | aarch64_be-* \ + | loongarch32-* | loongarch64-* | loongarchx32-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \