From 968364d4a622abe7282e87fd7869f01a01d63bf2 Mon Sep 17 00:00:00 2001 From: ZHAO Chun Date: Fri, 4 Jan 2019 12:20:06 +0800 Subject: [PATCH] Build boost with custom GCC (#499) --- thirdparty/build-thirdparty.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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