diff --git a/config/multithread b/config/multithread index ca389cddbe..18b24f959d 100644 --- a/config/multithread +++ b/config/multithread @@ -150,7 +150,7 @@ start_multithread_build() { [ "${THREADCOUNT}" = "0" ] && THREADCOUNT=1 # Bootstrap GNU parallel - $SCRIPTS/build parallel:host 2>&1 || die "Unable to bootstrap parallel package" + MTWITHLOCKS=no $SCRIPTS/build parallel:host 2>&1 || die "Unable to bootstrap parallel package" # if number of detected slots is 1 then don't bother using inter-process locks as this is a sequential build [ $(seq 1 32 | ${TOOLCHAIN}/bin/parallel --plain --no-notice --max-procs ${THREADCOUNT} echo {%} | sort -n | tail -1) -eq 1 ] && singlethread=yes || singlethread=no