Use -stdlib=libc++ explicitly with clang under OS X in Travis CI

Fix the compilation of the sample using non configure-generated makefile in OS
X Travis CI build.
This commit is contained in:
Vadim Zeitlin
2016-01-28 15:15:59 +01:00
parent e1c7b0fc6a
commit 9e6af23062

View File

@@ -20,7 +20,7 @@ matrix:
env: wxCONFIGURE_FLAGS="--disable-shared"
- os: osx
compiler: clang
env: wxCONFIGURE_FLAGS="--enable-cxx11" wxMAKEFILE_FLAGS="CXXFLAGS=-std=c++11"
env: wxCONFIGURE_FLAGS="--enable-cxx11" wxMAKEFILE_FLAGS="CXXFLAGS='-std=c++11 -stdlib=libc++'"
branches:
only: