summaryrefslogtreecommitdiff
path: root/palemoon/debian
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-07-23 10:17:55 -0400
committerB Stack <bgstack15@gmail.com>2020-07-23 10:17:55 -0400
commit73df46c30ed676ec02fee2f09f04e5e592402a28 (patch)
tree797e49383455a82fdc52c0a007885740cef504ab /palemoon/debian
parentremove fix_arm_FTBFS which is not required (diff)
downloadstackrpms-73df46c30ed676ec02fee2f09f04e5e592402a28.tar.gz
stackrpms-73df46c30ed676ec02fee2f09f04e5e592402a28.tar.bz2
stackrpms-73df46c30ed676ec02fee2f09f04e5e592402a28.zip
use lsb_release = sid for -j1 compile flag
Diffstat (limited to 'palemoon/debian')
-rw-r--r--palemoon/debian/mozconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/palemoon/debian/mozconfig b/palemoon/debian/mozconfig
index 6513132..d1ceb6f 100644
--- a/palemoon/debian/mozconfig
+++ b/palemoon/debian/mozconfig
@@ -50,6 +50,10 @@ ac_add_options --enable-alsa
# primarily for 32-bit but tolerated for 64-bit
ac_add_options --x-libraries=/usr/lib
-# TESTING FOR OBS
+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"
+else
# limit to 4 cpus to limit memory usage (approximately 0.75 GiB RAM/thread)
mk_add_options MOZ_MAKE_FLAGS="-j4"
+fi
bgstack15