From 54cca9f2ba0065fe34013bf712c181601a53c912 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Wed, 15 Aug 2007 14:59:37 +0000 Subject: Add the possibility to force the number of // jobs without reconfiguring. --- scripts/crosstool.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/crosstool.sh b/scripts/crosstool.sh index 60ffbeaf..58022660 100755 --- a/scripts/crosstool.sh +++ b/scripts/crosstool.sh @@ -319,6 +319,9 @@ if [ -z "${CT_RESTART}" ]; then CT_CFLAGS_FOR_HOST= [ "${CT_USE_PIPES}" = "y" ] && CT_CFLAGS_FOR_HOST="${CT_CFLAGS_FOR_HOST} -pipe" + # Override the configured jobs with what's been given on the command line + [ -n "${CT_JOBS}" ] && CT_PARALLEL_JOBS="${CT_JOBS}" + # And help make go faster PARALLELMFLAGS= [ ${CT_PARALLEL_JOBS} -ne 0 ] && PARALLELMFLAGS="${PARALLELMFLAGS} -j${CT_PARALLEL_JOBS}" -- cgit v1.2.3