Skip to content

Commit 29fa5e4

Browse files
committed
build-script-impl: fix the build when distcc is not enabled
1 parent 855700d commit 29fa5e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/build-script-impl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1885,9 +1885,9 @@ for deployment_target in "${HOST_TARGET}" "${CROSS_COMPILE_TOOLS_DEPLOYMENT_TARG
18851885
set -x
18861886
mkdir -p "${build_dir}"
18871887
if [[ -n "${DISTCC}" ]]; then
1888-
EXTRA_DISTCC_OPTIONS="DISTCC_HOSTS=localhost,lzo,cpp"
1888+
EXTRA_DISTCC_OPTIONS=("DISTCC_HOSTS=localhost,lzo,cpp")
18891889
fi
1890-
(cd "${build_dir}" && env "${EXTRA_DISTCC_OPTIONS}" "${CMAKE}" "${cmake_options[@]}" "${EXTRA_CMAKE_OPTIONS[@]}" "${source_dir}")
1890+
(cd "${build_dir}" && env "${EXTRA_DISTCC_OPTIONS[@]}" "${CMAKE}" "${cmake_options[@]}" "${EXTRA_CMAKE_OPTIONS[@]}" "${source_dir}")
18911891
{ set +x; } 2>/dev/null
18921892
fi
18931893

0 commit comments

Comments
 (0)