1
0

Clang needs the libstdc++ that comes with gcc-4.8

This commit is contained in:
Tycho 2014-12-13 22:09:37 +00:00
parent aef36a5c19
commit 7542255d5c

View File

@ -7,12 +7,14 @@ before_install:
- if [ "$TRAVIS_MCSERVER_BUILD_TYPE" == "COVERAGE" ]; then sudo pip install cpp_coveralls; fi
# g++4.8
- if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
- if [ "$CXX" == "g++" ]; then sudo apt-get update -qq; fi
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
# g++4.8 and clang
- sudo apt-get install -qq g++-4.8
# g++4.8
- if [ "$CXX" == "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" == "g++" ]; then export CXX="g++-4.8"; export CC="gcc-4.8"; fi
# Build MCServer