summaryrefslogtreecommitdiff
path: root/newmoon/debian/mozconfig
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-06-21 09:35:05 -0400
committerB. Stack <bgstack15@gmail.com>2024-06-21 09:35:05 -0400
commit8b6fb930f85b152abaede6957e5e09a2753d0282 (patch)
treedf6500a9540fa865ea66a40b92e617eb6a93ec27 /newmoon/debian/mozconfig
parentnpp 8.6.8 (diff)
downloadstackrpms-8b6fb930f85b152abaede6957e5e09a2753d0282.tar.gz
stackrpms-8b6fb930f85b152abaede6957e5e09a2753d0282.tar.bz2
stackrpms-8b6fb930f85b152abaede6957e5e09a2753d0282.zip
nm 33.1.1
Diffstat (limited to 'newmoon/debian/mozconfig')
-rw-r--r--newmoon/debian/mozconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/newmoon/debian/mozconfig b/newmoon/debian/mozconfig
index 61a7e75..e6e85a5 100644
--- a/newmoon/debian/mozconfig
+++ b/newmoon/debian/mozconfig
@@ -71,4 +71,8 @@ ac_add_options --disable-personas
# Debian Sid/Devuan Ceres; 2020-07 only -j1 works due to a bug.
#mk_add_options MOZ_MAKE_FLAGS="-j1"
+# Allow packager to specify number of build threads in the build command:
+PARALLEL_BUILD=$(echo $DEB_BUILD_OPTIONS | sed -e '/parallel=/!s/.*/1/;s/.*parallel=\([0-9]\+\).*/\1/g')
+mk_add_options MOZ_MAKE_FLAGS="-j$PARALLEL_BUILD"
+
#export MOZ_PKG_SPECIAL=gtk2
bgstack15