diff --git a/automake.spec b/automake.spec index 90742484261aa6451ef8f2ab4feb1172a36a4e09..2bccb4e113c5cb2cee9312dea2ed5abaeb1e40b6 100644 --- a/automake.spec +++ b/automake.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.1 +%define anolis_release .0.2 %global api_version 1.16 # do not mangle shebang in files which are part of bootstraped project @@ -153,6 +153,9 @@ make -k %{?_smp_mflags} check %{?TESTS_FLAGS: TESTS="%{TESTS_FLAGS}"} \ %doc AUTHORS README THANKS NEWS README.aclocal README.multilib %changelog +* Tue Jan 03 2023 Liwei Ge - 1.16.2-6.0.2 +- Support loongarch64 platform + * Thu Nov 24 2022 mgb01105731 - 1.16.2-6.0.1 - Add doc sub package diff --git a/config.guess b/config.guess index b33c9e890e0c7c0acb1dbc9058f4be70e0a8f10f..4395a0a3dcaafd0eedea0c57053d7be7f2e05ba5 100755 --- a/config.guess +++ b/config.guess @@ -913,6 +913,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 b51fb8cdb69ea2e3828774c356acc50a8f759981..05051871276ceab526de7c071d9c2af16ff67eca 100755 --- a/config.sub +++ b/config.sub @@ -1156,6 +1156,7 @@ case $cpu-$vendor in 1750a | 580 \ | a29k \ | aarch64 | aarch64_be \ + | loongarch32 | loongarch64 | loongarchx32 \ | abacus \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] \