We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 69c695d + f8d3b49 commit 15816fcCopy full SHA for 15816fc
utils/build-script-impl
@@ -1884,7 +1884,10 @@ for deployment_target in "${HOST_TARGET}" "${CROSS_COMPILE_TOOLS_DEPLOYMENT_TARG
1884
( ! -z "${generator_output_path}" && ! -f "${generator_output_path}" ) ]] ; then
1885
set -x
1886
mkdir -p "${build_dir}"
1887
- (cd "${build_dir}" && "${CMAKE}" "${cmake_options[@]}" "${EXTRA_CMAKE_OPTIONS[@]}" "${source_dir}")
+ if [[ -n "${DISTCC}" ]]; then
1888
+ EXTRA_DISTCC_OPTIONS="DISTCC_HOSTS=localhost,lzo,cpp"
1889
+ fi
1890
+ (cd "${build_dir}" && env "${EXTRA_DISTCC_OPTIONS}" "${CMAKE}" "${cmake_options[@]}" "${EXTRA_CMAKE_OPTIONS[@]}" "${source_dir}")
1891
{ set +x; } 2>/dev/null
1892
fi
1893
0 commit comments