Only set -std=c++11 on Travis

This commit is contained in:
Vinnie Falco
2017-08-09 16:32:06 -07:00
parent 8977237f8a
commit d9d2b10760
3 changed files with 5 additions and 4 deletions

View File

@@ -2,6 +2,7 @@ Version 104:
* Remove unused include
* Use #error in config.hpp
* Only set -std=c++11 on Travis
--------------------------------------------------------------------------------

View File

@@ -99,8 +99,6 @@ project /boost/beast
<define>BOOST_ASIO_DISABLE_BOOST_DATE_TIME=1
<define>BOOST_ASIO_DISABLE_BOOST_REGEX=1
<define>BOOST_ASIO_NO_DEPRECATED=1
<toolset>gcc:<cxxflags>-std=c++11
<toolset>clang:<cxxflags>-std=c++11
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS=1
<toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS=1
<toolset>msvc:<cxxflags>"/permissive- /bigobj"

View File

@@ -100,7 +100,8 @@ function build_bjam ()
if [[ $VARIANT == "coverage" ]] || \
[[ $VARIANT == "valgrind" ]] || \
[[ $VARIANT == "ubasan" ]]; then
bjam \
b2 \
cxxflags=-std=c++11 \
libs/beast/test/beast/core//fat-tests \
libs/beast/test/beast/http//fat-tests \
libs/beast/test/beast/websocket//fat-tests \
@@ -109,7 +110,8 @@ function build_bjam ()
variant=$VARIANT \
-j${JOBS}
else
bjam \
b2 \
cxxflags=-std=c++11 \
libs/beast/test//fat-tests \
libs/beast/example \
toolset=$TOOLSET \