diff options
author | B Stack <bgstack15@gmail.com> | 2020-07-23 10:17:55 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-07-23 10:17:55 -0400 |
commit | 73df46c30ed676ec02fee2f09f04e5e592402a28 (patch) | |
tree | 797e49383455a82fdc52c0a007885740cef504ab /palemoon | |
parent | remove fix_arm_FTBFS which is not required (diff) | |
download | stackrpms-73df46c30ed676ec02fee2f09f04e5e592402a28.tar.gz stackrpms-73df46c30ed676ec02fee2f09f04e5e592402a28.tar.bz2 stackrpms-73df46c30ed676ec02fee2f09f04e5e592402a28.zip |
use lsb_release = sid for -j1 compile flag
Diffstat (limited to 'palemoon')
-rw-r--r-- | palemoon/debian/mozconfig | 6 |
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 |