summaryrefslogtreecommitdiff
path: root/cross-make-mingw.sh
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2011-01-24 22:07:34 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:54 +0000
commitf96ae257eab6fae9b4b4f4409c58dbce6915ac35 (patch)
treec9828a3c3726d4b260493a710fd1f2f9f7bc6056 /cross-make-mingw.sh
parenta0101a6294268ef392b3fa4ecad12706e6cf4cf3 (diff)
* Merge ioq3-r1813
Diffstat (limited to 'cross-make-mingw.sh')
-rwxr-xr-xcross-make-mingw.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/cross-make-mingw.sh b/cross-make-mingw.sh
index c6dbe377..604ced10 100755
--- a/cross-make-mingw.sh
+++ b/cross-make-mingw.sh
@@ -3,4 +3,8 @@
export CC=i586-mingw32msvc-gcc
export WINDRES=i586-mingw32msvc-windres
export PLATFORM=mingw32
+if [ !$ARCH ]
+then
+export ARCH=x86
+fi
exec make $*