Update cross-build scripts.

They're hard-coded for my current setup, but easy to fix.
This commit is contained in:
Bill Currie 2010-12-23 11:45:08 +09:00
parent de04e1b602
commit 2229c7557d
2 changed files with 9 additions and 10 deletions

View file

@ -1,9 +1,7 @@
#!/bin/sh
PKG_CONFIG_PATH=/usr/local/cross-tools/i386-mingw32msvc/lib/pkgconfig PATH=/usr/i586-mingw32msvc/bin:$PATH \
./configure \
--host=i586-mingw32msvc \
--target=i586-mingw32msvc \
--build=i586-linux \
$*
MINGW=/home/bill/src/mingw/mingw-cross-env-2.18
export PKG_CONFIG_PATH=$MINGW/usr/lib/pkgconfig
export PATH=$MINGW/usr/bin:$PATH
../configure --host=i686-pc-mingw32 \
SDL_CONFIG=$MINGW/usr/i686-pc-mingw32/bin/sdl-config $*

View file

@ -1,7 +1,8 @@
#!/bin/sh -x
HOST_CC=gcc
PATH=/usr/i586-mingw32msvc/bin:$PATH
export HOST_CC
export PATH
make $*
MINGW=/home/bill/src/mingw/mingw-cross-env-2.18
export PATH=$MINGW/usr/bin:$PATH
make PAK=pak QFCC=qfcc $*