]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
If one compiler fails, try another.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 8 Jan 2015 16:27:43 +0000 (16:27 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 8 Jan 2015 16:27:43 +0000 (16:27 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12126 d7cf8633-e32d-0410-b094-e92efae38249

.travis-before_install-xonotic.sh
.travis-script-xonotic.sh

index 982de6d8a59999c5516894da1f10255cd2b54260..9cfae9eb186bbf6b807b59e795bc1403bb0ce8c5 100755 (executable)
@@ -46,8 +46,6 @@ for os in "$@"; do
       )
       ;;
     win32)
-      sudo apt-get install -y \
-        mingw-w64 mingw32- mingw32-binutils-
       ;;
     win64)
       sudo apt-get install -y \
index 72f8dc08346d261c3bcff839e507c96a35ad3ec2..7c814c8cb8d55b1e6cc03cf9b84a89cc1f0a38a3 100755 (executable)
@@ -62,8 +62,8 @@ for os in "$@"; do
         DP_MAKE_TARGET=mingw
         UNAME=MINGW32
         WIN32RELEASE=1
-        CC="i686-w64-mingw32-gcc -g1 -Wl,--dynamicbase -Wl,--nxcompat -mstackrealign -I../../../${deps}/include -L../../../${deps}/lib -DUSE_WSPIAPI_H -DSUPPORTIPV6"
-        WINDRES="i686-w64-mingw32-windres"
+        CC="i586-mingw32msvc-gcc -g1 -Wl,--dynamicbase -Wl,--nxcompat -mstackrealign -I../../../${deps}/include -L../../../${deps}/lib -DUSE_WSPIAPI_H -DSUPPORTIPV6"
+        WINDRES="i586-mingw32msvc-windres"
         SDL_CONFIG="../../../${deps}/bin/sdl2-config"
         DP_LINK_CRYPTO=dlopen
         DP_LINK_CRYPTO_RIJNDAEL=dlopen