summaryrefslogtreecommitdiff
path: root/cross-make-mingw64.sh
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-06-16 21:49:33 +0000
committerTim Angus <tim@ngus.net>2013-01-10 21:28:23 +0000
commit5366078c426a6b6e4b5a28234cc21a78e6ef99ec (patch)
tree59e874c9bc6bf96fb892bd5f40cc84b04d754a27 /cross-make-mingw64.sh
parentbd3e3682dc9bbe852b5d63ed3e225a35b1a28bf6 (diff)
Add mingw64 crossbuild script, patch by Zack Middleton
Diffstat (limited to 'cross-make-mingw64.sh')
-rwxr-xr-xcross-make-mingw64.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/cross-make-mingw64.sh b/cross-make-mingw64.sh
new file mode 100755
index 00000000..5a05a81a
--- /dev/null
+++ b/cross-make-mingw64.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+export CC=amd64-mingw32msvc-gcc
+export WINDRES=amd64-mingw32msvc-windres
+export PLATFORM=mingw32
+if [ !$ARCH ]
+then
+export ARCH=x86_64
+fi
+exec make $*