Attempt to fix testing build for clang++

This commit is contained in:
Tim Warren 2015-06-19 16:02:52 -04:00
parent f5022077f6
commit 5f05436b28
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ before_install:
- sudo apt-get -qq update
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 98; fi
- if [ "$CXX" = "clang++" ]; then export CXXFLAGS="$CXXFLAGS -stdlib=libc++"
# Install dependencies
- sudo apt-get -qq install libwxgtk3.0-dev libwxgtk3.0-0 libssh2-1-dev