mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 14:52:00 +00:00
Add support for x86_64 cross compiling in Travis CI
This commit is contained in:
parent
718d0a0d11
commit
4e67034d5a
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue