diff options
-rw-r--r-- | palemoon/debian/mozconfig | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/palemoon/debian/mozconfig b/palemoon/debian/mozconfig index 93f26cd..3b78f53 100644 --- a/palemoon/debian/mozconfig +++ b/palemoon/debian/mozconfig @@ -1,3 +1,11 @@ +if test `lsb_release -sc` = "sid" || test `lsb_release -sc` = "unstable" ; then +# single-threaded for sid because of jobserver problem in OBS +export JCOUNT=1 +else +# limit to 4 cpus to limit memory usage (approximately 0.75 GiB RAM/thread) +export JCOUNT=4 +fi + mk_add_options AUTOCLOBBER=1 export BUILDING_RELEASE=1 export MC_OFFICIAL=1 @@ -50,11 +58,4 @@ ac_add_options --enable-alsa # primarily for 32-bit but tolerated for 64-bit 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 -export JCOUNT=1 -else -# limit to 4 cpus to limit memory usage (approximately 0.75 GiB RAM/thread) -export JCOUNT=4 -fi -mk_add_options MOZ_MAKE_FLAGS="-j${JCOUNT}" +mk_add_options MOZ_MAKE_FLAGS=-j${JCOUNT} |