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
- clang
- i686-w64-mingw32-gcc
- x86_64-w64-mingw32-gcc
script: ./travis-ci-build.sh

View File

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