Add mingw cross-compile test to all.sh

This commit is contained in:
Manuel Pégourié-Gonnard 2015-02-16 17:18:36 +01:00
parent ab025803ed
commit 6448bceeb6

View File

@ -187,6 +187,12 @@ grep -v '^ar: creating' armcc.stderr || exit 1
rm armcc.stderr rm armcc.stderr
fi # armcc fi # armcc
if which i686-w64-mingw32-gcc >/dev/null; then
msg "build: cross-mingw64, make" # ~ 30s
cleanup
CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar CFLAGS=-Werror WINDOWS_BUILD=1 make
fi
# MemSan currently only available on Linux 64 bits # MemSan currently only available on Linux 64 bits
if uname -a | grep 'Linux.*x86_64' >/dev/null; then if uname -a | grep 'Linux.*x86_64' >/dev/null; then