aboutsummaryrefslogtreecommitdiffstats
path: root/cross-make-mingw.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cross-make-mingw.sh')
-rwxr-xr-xcross-make-mingw.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/cross-make-mingw.sh b/cross-make-mingw.sh
index bb9c23e..c6dbe37 100755
--- a/cross-make-mingw.sh
+++ b/cross-make-mingw.sh
@@ -1,8 +1,6 @@
#!/bin/sh
-PREFIX=/usr/local/cross-tools
-TARGET=i386-mingw32msvc
-PATH="$PREFIX/bin:$PREFIX/$TARGET/bin:$PATH"
-export PATH
+export CC=i586-mingw32msvc-gcc
+export WINDRES=i586-mingw32msvc-windres
export PLATFORM=mingw32
exec make $*