From 338c1b46421e9364e260273a4b49f6f78d434bf1 Mon Sep 17 00:00:00 2001 From: Samuel Martin Date: Sun, 27 Jan 2013 17:54:19 +0100 Subject: script: allow to pass any float value for CT_LOAD Signed-off-by: Samuel Martin Message-Id: Patchwork-Id: 216062 --- scripts/crosstool-NG.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in index 49b34a9f..177676c0 100644 --- a/scripts/crosstool-NG.sh.in +++ b/scripts/crosstool-NG.sh.in @@ -516,7 +516,7 @@ if [ -z "${CT_RESTART}" ]; then AUTO_JOBS=$((`getconf _NPROCESSORS_ONLN 2> /dev/null || echo 0` + 1)) [ ${CT_PARALLEL_JOBS} -eq 0 ] && JOBSFLAGS="${JOBSFLAGS} -j${AUTO_JOBS}" [ ${CT_PARALLEL_JOBS} -gt 0 ] && JOBSFLAGS="${JOBSFLAGS} -j${CT_PARALLEL_JOBS}" - [ ${CT_LOAD} -ne 0 ] && JOBSFLAGS="${JOBSFLAGS} -l${CT_LOAD}" + JOBSFLAGS="${JOBSFLAGS} -l${CT_LOAD}" # Now that we've set up $PATH and $CT_CFLAGS_FOR_HOST, sanity test that gcc # is runnable so that the user can troubleshoot problems if not. -- cgit v1.2.3