From 7109f435a014f55ef562b9d2944cbc914b5c95ef Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Thu, 24 Oct 2019 17:29:56 +0300 Subject: [PATCH] build-package.sh: cargo should use $TERMUX_MAKE_PROCESSES for max amount of build jobs --- scripts/build/termux_step_make_install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build/termux_step_make_install.sh b/scripts/build/termux_step_make_install.sh index 5755c0891..188e2e9d1 100644 --- a/scripts/build/termux_step_make_install.sh +++ b/scripts/build/termux_step_make_install.sh @@ -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 \