configure: remove needless if leg

It was pointed out in review of the previous patch that the if leg
isn't needed as the for loop will not enter on an empty $device_archs.

Fixes: d1d5e9eefd ("configure: allow the selection of alternate config in the build")
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210720232703.10650-5-alex.bennee@linaro.org>
This commit is contained in:
Alex Bennée 2021-07-21 00:26:38 +01:00
parent 15d9c3cef1
commit 11bdcfcdd2
1 changed files with 4 additions and 6 deletions

10
configure vendored
View File

@ -5103,12 +5103,10 @@ if test "$skip_meson" = no; then
echo "[properties]" >> $cross echo "[properties]" >> $cross
# unroll any custom device configs # unroll any custom device configs
if test -n "$device_archs"; then for a in $device_archs; do
for a in $device_archs; do eval "c=\$devices_${a}"
eval "c=\$devices_${a}" echo "${a}-softmmu = '$c'" >> $cross
echo "${a}-softmmu = '$c'" >> $cross done
done
fi
test -z "$cxx" && echo "link_language = 'c'" >> $cross test -z "$cxx" && echo "link_language = 'c'" >> $cross
echo "[built-in options]" >> $cross echo "[built-in options]" >> $cross