build-package.sh: cargo should use $TERMUX_MAKE_PROCESSES for max amount of build jobs

This commit is contained in:
Leonid Pliushch 2019-10-24 17:29:56 +03:00
parent 7e04f494ab
commit 410b0e1223

View File

@ -14,6 +14,7 @@ termux_step_make_install() {
elif test -f Cargo.toml; then
termux_setup_rust
cargo install \
--jobs $TERMUX_MAKE_PROCESSES \
--path . \
--force \
--target $CARGO_TARGET_NAME \