Add support for x86_64 cross compiling in Travis CI

This commit is contained in:
hairball 2014-02-10 10:35:01 +00:00
parent 718d0a0d11
commit 4e67034d5a
2 changed files with 6 additions and 0 deletions

View file

@ -3,6 +3,7 @@ compiler:
- gcc - gcc
- clang - clang
- i686-w64-mingw32-gcc - i686-w64-mingw32-gcc
- x86_64-w64-mingw32-gcc
script: ./travis-ci-build.sh script: ./travis-ci-build.sh

View file

@ -8,6 +8,11 @@ if [ "$CC" = "i686-w64-mingw32-gcc" ]; then
export ARCH=x86 export ARCH=x86
export CC= export CC=
haveExternalLibs=0 haveExternalLibs=0
elif [ "$CC" = "x86_64-w64-mingw32-gcc" ]; then
export PLATFORM=mingw32
export ARCH=x86_64
export CC=
haveExternalLibs=0
else else
haveExternalLibs=1 haveExternalLibs=1
fi fi