From fba4407a782eb5c718f7d65e00e134039e1b5e09 Mon Sep 17 00:00:00 2001 From: B Stack Date: Thu, 23 Jul 2020 11:51:30 -0400 Subject: do only an export in the shell "if" statement --- palemoon/debian/mozconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'palemoon') diff --git a/palemoon/debian/mozconfig b/palemoon/debian/mozconfig index d1ceb6f..93f26cd 100644 --- a/palemoon/debian/mozconfig +++ b/palemoon/debian/mozconfig @@ -52,8 +52,9 @@ ac_add_options --x-libraries=/usr/lib if test `lsb_release -sc` = "sid" || test `lsb_release -sc` = "unstable" ; then # single-threaded for sid because of jobserver problem in OBS -mk_add_options MOZ_MAKE_FLAGS="-j1" +export JCOUNT=1 else # limit to 4 cpus to limit memory usage (approximately 0.75 GiB RAM/thread) -mk_add_options MOZ_MAKE_FLAGS="-j4" +export JCOUNT=4 fi +mk_add_options MOZ_MAKE_FLAGS="-j${JCOUNT}" -- cgit