Use $(nproc) as default for $TERMUX_MAKE_PROCESSES
This commit is contained in:
parent
65394feebc
commit
fe5862ce89
@ -178,7 +178,7 @@ termux_step_handle_arguments() {
|
|||||||
termux_step_setup_variables() {
|
termux_step_setup_variables() {
|
||||||
: "${ANDROID_HOME:="${HOME}/lib/android-sdk"}"
|
: "${ANDROID_HOME:="${HOME}/lib/android-sdk"}"
|
||||||
: "${NDK:="${HOME}/lib/android-ndk"}"
|
: "${NDK:="${HOME}/lib/android-ndk"}"
|
||||||
: "${TERMUX_MAKE_PROCESSES:="4"}"
|
: "${TERMUX_MAKE_PROCESSES:="$(nproc)"}"
|
||||||
: "${TERMUX_TOPDIR:="$HOME/.termux-build"}"
|
: "${TERMUX_TOPDIR:="$HOME/.termux-build"}"
|
||||||
: "${TERMUX_ARCH:="aarch64"}" # arm, aarch64, i686 or x86_64.
|
: "${TERMUX_ARCH:="aarch64"}" # arm, aarch64, i686 or x86_64.
|
||||||
: "${TERMUX_PREFIX:="/data/data/com.termux/files/usr"}"
|
: "${TERMUX_PREFIX:="/data/data/com.termux/files/usr"}"
|
||||||
|
Loading…
Reference in New Issue
Block a user