fix a couple of travis build failures

This commit is contained in:
Brent Cook 2015-09-09 07:34:37 -05:00
parent 46c9a8de8b
commit e04dfb2b27

View File

@ -27,7 +27,7 @@ if [ "x$ARCH" = "xnative" ]; then
else
sudo apt-add-repository -y ppa:kalakris/cmake
sudo apt-get update
sudo apt-get install -y $ARCH-x-gcc cmake ninja-build
sudo apt-get install -y cmake ninja-build
cmake .. -GNinja
ninja
fi
@ -38,7 +38,7 @@ else
fi
export CC=$CPU-w64-mingw32-gcc
if ! hash $CC 2>/dev/null; then
if hash $CC 2>/dev/null; then
# Update Ubuntu 12.04 with current mingw toolchain
sudo apt-add-repository -y ppa:tobydox/mingw-x-precise
sudo apt-get update