diff --git a/scripts/setup-macos.sh b/scripts/setup-macos.sh index da1f73d8a8a1..76d7fe606fd8 100755 --- a/scripts/setup-macos.sh +++ b/scripts/setup-macos.sh @@ -104,7 +104,7 @@ function install_boost { ( cd ${DEPENDENCY_DIR}/boost ./bootstrap.sh --prefix=${INSTALL_PREFIX} - ${SUDO} ./b2 "-j$(nproc)" -d0 install threading=multi --without-python + ${SUDO} ./b2 "-j${NPROC}" -d0 install threading=multi --without-python ) }