summaryrefslogtreecommitdiff
path: root/palemoon/debian
diff options
context:
space:
mode:
Diffstat (limited to 'palemoon/debian')
-rw-r--r--palemoon/debian/mozconfig5
1 files changed, 3 insertions, 2 deletions
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}"
bgstack15