abuild.in: update autoconf test for loongarch64
This commit is contained in:
parent
1861b23f0c
commit
e3ba1238d3
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue