Subject: [PATCH] gnu: icedove: Respect parallel-job-count while building.

From: Jonathan Brielmaier <[email-masked]>
Date: Tue, 8 Jun 2021 19:38:06 +0200

* gnu/packages/gnuzilla.scm (icedove)[arguments]: Add MOZ_MAKE_FLAGS
with parallel-job-count to mozconfig.
---
 gnu/packages/gnuzilla.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index c63809c20c..b6b4a01362 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1496,7 +1496,8 @@ standards of the IceCat project.")
                      "ac_add_options --with-system-nspr\n"
                      "ac_add_options --with-system-nss\n"
                      "ac_add_options --with-system-zlib\n"
-                     "ac_add_options --with-user-appdir=\\.icedove\n"))))
+                     "ac_add_options --with-user-appdir=\\.icedove\n"
+                     "mk_add_options MOZ_MAKE_FLAGS=-j" (number->string (parallel-job-count)) "\n"))))
                (display (getcwd))
                (newline)
                (display "mach configure")
--
2.31.1