abuild.in: update autoconf test for loongarch64

This commit is contained in:
Jingyun Hua 2024-03-02 15:15:17 +08:00 committed by Natanael Copa
parent 1861b23f0c
commit e3ba1238d3
1 changed files with 2 additions and 2 deletions

View File

@ -667,7 +667,7 @@ mkusers() {
# helper to update config.sub to a recent version
update_config_sub() {
find . -name config.sub | (local changed=false; while read f; do
if ! ./$f riscv64-alpine-linux-musl 2>/dev/null; then
if ! ./$f loongarch64-alpine-linux-musl 2>/dev/null; then
msg "Updating $f"
cp "$sharedir"/${f##*/} "$f" || return 1
changed=true
@ -680,7 +680,7 @@ update_config_sub() {
# helper to update config.guess to a recent version
update_config_guess() {
find . -name config.guess | (local changed=false; while read f; do
if grep -q aarch64 "$f" && grep -q ppc64le "$f" && grep -q riscv64 "$f"; then
if grep -q aarch64 "$f" && grep -q ppc64le "$f" && grep -q riscv64 "$f" && grep -q loongarch64 "$f"; then
msg "No update needed for $f"
else
msg "Updating $f"