From 595314c62b0344c3c6f862f198d56ab88eb17e0b Mon Sep 17 00:00:00 2001 From: William Harrington Date: Tue, 6 Apr 2021 14:10:50 -0500 Subject: Add NINJAJOBS variable to be used with ninja builds. --- env.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'env.sh') diff --git a/env.sh b/env.sh index e265628..7587c1e 100644 --- a/env.sh +++ b/env.sh @@ -35,6 +35,7 @@ NUMPROCS="$(getconf _NPROCESSORS_ONLN)" numjobs="$((NUMPROCS * 2 - 1))" # Make flags for multiple jobs MAKEFLAGS="-j ${numjobs}" +NINJAJOBS="${NUMPROCS}" # Set spinner type (0-12 in funtions.sh) SPINNER="0" @@ -43,7 +44,7 @@ SPINNER="0" TESTERUID="$(id -u)" \ export PS1 LC_ALL LFS LFS_TGT PATH CONFIG_SITE -export LFS_VER LFS_DISK LFS_FS LFS_PART LFS_PWD NUMPROCS MAKEFLAGS +export LFS_VER LFS_DISK LFS_FS LFS_PART LFS_PWD NUMPROCS MAKEFLAGS NINJAJOBS export SPINNER export TESTERUID -- cgit v1.2.3-54-g00ecf