fix a couple of travis build failures
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user