]> rtime.felk.cvut.cz Git - orte.git/commitdiff
Try multiple mingw compilers
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 15 Oct 2013 14:38:40 +0000 (16:38 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 15 Oct 2013 14:38:40 +0000 (16:38 +0200)
I have different mingw compile on Debian stable and unstable. This
makes the check run on both my systems.

Note however, that with i686-w64-mingw32, compilation currently fails.

Makefile.git

index 170eb58abb215a3d175bfb49c61b2e717c65eb65..3d0097e43fe830acb99268143e1716cb364030ad 100644 (file)
@@ -21,7 +21,8 @@ check: configure
 
 check-windows:
        mkdir -p _check-win
-       cd _check-win && ../configure --host=i586-mingw32msvc CC=i586-mingw32msvc-gcc
+       cd _check-win && ../configure --host=i586-mingw32msvc CC=i586-mingw32msvc-gcc || \
+                        ../configure --host=i686-w64-mingw32 CC=i686-w64-mingw32-gcc
        cd _check-win && $(MAKE)
 
 check-autotools: