abuild.in: update autoconf test for riscv64

This commit is contained in:
Drew DeVault 2020-12-09 08:43:14 -05:00 committed by Sören Tempel
parent 98c10731dc
commit b0af30c5be

View File

@ -635,7 +635,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 armv6-alpine-linux-muslgnueabihf 2>/dev/null; then
if ! ./$f riscv64-alpine-linux-musl 2>/dev/null; then
msg "Updating $f"
cp "$sharedir"/${f##*/} "$f" || return 1
changed=true
@ -648,7 +648,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"; then
if grep -q aarch64 "$f" && grep -q ppc64le "$f" && grep -q riscv64 "$f"; then
msg "No update needed for $f"
else
msg "Updating $f"