summaryrefslogtreecommitdiff
path: root/palemoon/debian
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-07-23 14:02:42 -0400
committerB Stack <bgstack15@gmail.com>2020-07-23 14:02:42 -0400
commitbafbb8d345bd2ee9fd67fbd3618b94758ea7f10a (patch)
tree7cd1bf85dc043a0d46c7d0a9dc29e7a500d53877 /palemoon/debian
parentdo only an export in the shell "if" statement (diff)
downloadstackrpms-bafbb8d345bd2ee9fd67fbd3618b94758ea7f10a.tar.gz
stackrpms-bafbb8d345bd2ee9fd67fbd3618b94758ea7f10a.tar.bz2
stackrpms-bafbb8d345bd2ee9fd67fbd3618b94758ea7f10a.zip
try new layout for mozconfig for -j flag
Diffstat (limited to 'palemoon/debian')
-rw-r--r--palemoon/debian/mozconfig17
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}
bgstack15