fixed warning for 'size' profile
[k8jam.git] / 0build_cross.sh
blobfb6f56136133ac20aa889073fec5094a6a924f87
1 #!/bin/sh
3 MGCC="i686-pc-mingw32-gcc -pipe -static-libgcc"
4 CFLAGS="-O2 -DNT -Wall -DMKJAMBASE_COMPACT -march=i486 -mtune=i486"
5 CC="${MGCC}"
6 LINK="${CC}"
7 #LINKFLAGS="-s"
8 LINKFLAGS="-s -Wl,-subsystem,console"
9 AR="i686-pc-mingw32-ar -sru"
10 #RANLIB="i686-pc-mingw32-ranlib"
11 LINKLIBS="-lkernel32 -ladvapi32"
12 DESTPATH="bin.win32"
13 BUILDPATH="_wbuild"
14 WINE="tan"
15 XOS="nt"
16 EXESFX=".exe"
17 CROSS="tan"
19 ${CC} -v >/dev/null 2>&1
20 if test "$?" = "127"; then
21 echo "FATAL: MinGW cross-compiler not found!"
22 exit 1
25 . ./0build_common.sh