diff --git a/thirdparty/build-thirdparty.sh b/thirdparty/build-thirdparty.sh index 6be4239a449904..89dcac280ac9b9 100755 --- a/thirdparty/build-thirdparty.sh +++ b/thirdparty/build-thirdparty.sh @@ -600,7 +600,7 @@ build_rocksdb() { CFLAGS= \ EXTRA_CFLAGS="-I ${TP_INCLUDE_DIR} -I ${TP_INCLUDE_DIR}/snappy -I ${TP_INCLUDE_DIR}/lz4 -L${TP_LIB_DIR} ${FILE_PREFIX_MAP_OPTION}" \ - EXTRA_CXXFLAGS=$(echo_opts_gcc14 -Wno-error=redundant-move)" -fPIC -Wno-deprecated-copy -Wno-stringop-truncation -Wno-pessimizing-move -I ${TP_INCLUDE_DIR} -I ${TP_INCLUDE_DIR}/snappy ${FILE_PREFIX_MAP_OPTION}" \ + EXTRA_CXXFLAGS=$(echo_gt_gcc14 -Wno-error=redundant-move)" -fPIC -Wno-deprecated-copy -Wno-stringop-truncation -Wno-pessimizing-move -I ${TP_INCLUDE_DIR} -I ${TP_INCLUDE_DIR}/snappy ${FILE_PREFIX_MAP_OPTION}" \ EXTRA_LDFLAGS="-static-libstdc++ -static-libgcc" \ PORTABLE=1 make USE_RTTI=1 -j$PARALLEL static_lib @@ -665,8 +665,8 @@ build_flatbuffers() { cd $BUILD_DIR rm -rf CMakeCache.txt CMakeFiles/ - export CXXFLAGS="-O3 -fno-omit-frame-pointer -fPIC -g " $(echo_opts_gcc14 "-Wno-error=stringop-overread") - export CPPFLAGS="-O3 -fno-omit-frame-pointer -fPIC -g " $(echo_opts_gcc14 "-Wno-error=stringop-overread") + export CXXFLAGS="-O3 -fno-omit-frame-pointer -fPIC -g " $(echo_gt_gcc14 "-Wno-error=stringop-overread") + export CPPFLAGS="-O3 -fno-omit-frame-pointer -fPIC -g " $(echo_gt_gcc14 "-Wno-error=stringop-overread") LDFLAGS="-static-libstdc++ -static-libgcc" \ ${CMAKE_CMD} .. -G "${CMAKE_GENERATOR}" -DFLATBUFFERS_BUILD_TESTS=OFF