Subject: [bug#41871] [PATCH 4/7] gnu: icedtea-7: Build in parallel using correct number of jobs.

From: Simon South <[email-masked]>
Date: Mon, 15 Jun 2020 11:22:54 -0400

* gnu/packages/java.scm (icedtea-7)[arguments]<#:configure-flags>: Add
"--with-parallel-jobs".
---
 gnu/packages/java.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 3618b9ee3f..5f46e883fc 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1169,6 +1169,8 @@ bootstrapping purposes.")
            "--enable-bootstrap"
            "--enable-nss"
            "--without-rhino"
+           ,(string-append "--with-parallel-jobs="
+                           (number->string (parallel-job-count)))
            "--disable-downloading"
            "--disable-tests"        ;they are run in the check phase instead
            "--with-openjdk-src-dir=./openjdk.src"
-- 
2.26.2