From 5c83b904bdf4a3cd5cdf90398fe8a314ced7ea95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 14 Sep 2020 14:55:30 +0300 Subject: [PATCH] build-mingw-w64-tools: Pick the first arch as the one to target, instead of hardcoding x86_64 --- build-mingw-w64-tools.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-mingw-w64-tools.sh b/build-mingw-w64-tools.sh index cacdc85..fd29842 100755 --- a/build-mingw-w64-tools.sh +++ b/build-mingw-w64-tools.sh @@ -76,7 +76,7 @@ if [ -n "$SKIP_INCLUDE_TRIPLET_PREFIX" ]; then # If using the same includedir for all archs, it's enough to # build one single binary. ALL_ARCHS="$ARCHS" - ARCHS=x86_64 + ARCHS=$(echo $ARCHS | awk '{print $1}') fi cd mingw-w64-tools/widl