Use cxx17 with boost builds.

This commit is contained in:
casey langen 2022-12-03 16:25:09 -08:00
parent 3685145f1d
commit 57d011e531

View File

@ -124,7 +124,7 @@ function build_boost() {
./bootstrap.sh --with-libraries=atomic,chrono,date_time,filesystem,system,thread || exit $? ./bootstrap.sh --with-libraries=atomic,chrono,date_time,filesystem,system,thread || exit $?
./b2 headers || exit $? ./b2 headers || exit $?
./b2 -d ${JOBS} -sNO_LZMA=1 -sNO_ZSTD=1 ${BOOST_TOOLSET} threading=multi link=shared cxxflags="${BOOST_CXX_FLAGS}" --prefix=${OUTDIR} install || exit $? ./b2 -d ${JOBS} -sNO_LZMA=1 -sNO_ZSTD=1 ${BOOST_TOOLSET} cxxstd=17 threading=multi link=shared cxxflags="${BOOST_CXX_FLAGS}" --prefix=${OUTDIR} install || exit $?
cd .. cd ..
} }