From b73cd46f79cc1853322a3aa94bb0449d4d77f36c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= <ark@switnet.org>
Date: Sun, 3 Jul 2022 17:00:22 +0000
Subject: [PATCH] qtwebengine-opensource-src: improve parallel restriction

---
 helpers/make-qtwebengine-opensource-src | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/helpers/make-qtwebengine-opensource-src b/helpers/make-qtwebengine-opensource-src
index 0fe26cc9..2e870e40 100644
--- a/helpers/make-qtwebengine-opensource-src
+++ b/helpers/make-qtwebengine-opensource-src
@@ -1,5 +1,6 @@
 #!/bin/sh
 #
+#    Copyright (C) 2022 Luis Guzman <ark@switnet.org>
 #    Copyright (C) 2021 Pablo Correa Gómez <ablocorrea@hotmail.com>
 #
 #    This program is free software; you can redistribute it and/or modify
@@ -24,6 +25,9 @@ VERSION=3
 sed '/libxnvctrl-dev/d' -i debian/control
 echo "gn_args += safe_browsing_mode=0" >> src/core/config/common.pri
 
+#Increase parallel restriction (it fails at full speed).
+sed -i 's|j2|j4|' debian/rules
+
 while read -r file; do
     rm -rf $file
 done << EOF
-- 
GitLab