mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-20 17:31:08 +00:00
Update cross-build scripts.
They're hard-coded for my current setup, but easy to fix.
This commit is contained in:
parent
de04e1b602
commit
2229c7557d
2 changed files with 9 additions and 10 deletions
|
@ -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 $*
|
||||
|
||||
|
|
|
@ -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 $*
|
||||
|
||||
|
|
Loading…
Reference in a new issue