summaryrefslogtreecommitdiff
path: root/cross-make-mingw.sh
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2013-03-21 21:17:52 +0000
committerTim Angus <tim@ngus.net>2013-03-22 18:52:19 +0000
commit63d8e37881b7350b01050181fb9dd96567fdb2ef (patch)
treebca233526bfa8464465b954d6cd0f788fdf592b5 /cross-make-mingw.sh
parent53a4d7a4e3ed24aac99038e2ade334afa7c4246c (diff)
Fix cross-make-mingw.sh when no ARCH is supplied
Diffstat (limited to 'cross-make-mingw.sh')
-rwxr-xr-xcross-make-mingw.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/cross-make-mingw.sh b/cross-make-mingw.sh
index cebf85cd..f78aa264 100755
--- a/cross-make-mingw.sh
+++ b/cross-make-mingw.sh
@@ -7,6 +7,7 @@ then
CMD_PREFIX="amd64-mingw32msvc x86_64-w64-mingw32"
else
CMD_PREFIX="i586-mingw32msvc i686-w64-mingw32"
+ export ARCH=x86
fi
if [ "$CC" = "cc" ] || [ "$CC" = "gcc" ];