From 6448bceeb6fdc738bc4e78892fbc4dcb81834461 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 16 Feb 2015 17:18:36 +0100 Subject: [PATCH] Add mingw cross-compile test to all.sh --- tests/scripts/all.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index bbd59baa0..62d027448 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -187,6 +187,12 @@ grep -v '^ar: creating' armcc.stderr || exit 1 rm armcc.stderr 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 if uname -a | grep 'Linux.*x86_64' >/dev/null; then