diff --git a/thirdparty/build-thirdparty.sh b/thirdparty/build-thirdparty.sh index b02a20ee86..3c4f7744ac 100755 --- a/thirdparty/build-thirdparty.sh +++ b/thirdparty/build-thirdparty.sh @@ -412,8 +412,9 @@ build_boost() { check_if_source_exist $BOOST_SOURCE cd $TP_SOURCE_DIR/$BOOST_SOURCE + echo "using gcc : doris : ${CXX} ; " > tools/build/src/user-config.jam ./bootstrap.sh --prefix=$TP_INSTALL_DIR - ./b2 link=static -d0 -j$PARALLEL --without-mpi --without-graph --without-graph_parallel --without-python cxxflags="-std=c++11 -fPIC -I$TP_INCLUDE_DIR -L$TP_LIB_DIR" install + ./b2 --toolset=gcc-doris link=static -d0 -j$PARALLEL --without-mpi --without-graph --without-graph_parallel --without-python cxxflags="-std=c++11 -fPIC -I$TP_INCLUDE_DIR -L$TP_LIB_DIR" install } # mysql