summaryrefslogtreecommitdiff
path: root/palemoon
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-07-23 11:51:30 -0400
committerB Stack <bgstack15@gmail.com>2020-07-23 11:51:30 -0400
commitfba4407a782eb5c718f7d65e00e134039e1b5e09 (patch)
tree493625098b7212beb2d45cdbd6cc1df5d5a23634 /palemoon
parentrequire lsb-release for lsb_release command (diff)
downloadstackrpms-fba4407a782eb5c718f7d65e00e134039e1b5e09.tar.gz
stackrpms-fba4407a782eb5c718f7d65e00e134039e1b5e09.tar.bz2
stackrpms-fba4407a782eb5c718f7d65e00e134039e1b5e09.zip
do only an export in the shell "if" statement
Diffstat (limited to 'palemoon')
-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