[vlc-devel] [PATCH 3.0 35/41] contribs: qt: parallelize qmake build

Steve Lhomme robux4 at ycbcr.xyz
Tue Jul 7 15:11:34 CEST 2020


From: Alexandre Janniaux <ajanni at videolabs.io>

Avoid closing jobserver pipe file descriptors before building qmake.
It also fixes the warning: jobserver unavailable: using -j1.  Add '+'
to parent make rule.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 6df29c991c99d773ffb3e5296a773b80a4770d37) (rebased)

rebased:
- this branch doesn't have DXSDK_DIR
- this branch has different targets (missing sub-network-install_subtargets sub-testlib-install_subtargets)

Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
---
 contrib/src/qt/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/qt/rules.mak b/contrib/src/qt/rules.mak
index bc84311da9..c2d5741b5c 100644
--- a/contrib/src/qt/rules.mak
+++ b/contrib/src/qt/rules.mak
@@ -84,7 +84,7 @@ endif
 ENV_VARS := $(HOSTVARS)
 
 .qt: qt
-	cd $< && $(ENV_VARS) ./configure $(QT_PLATFORM) $(QT_CONFIG) -prefix $(PREFIX) -I $(PREFIX)/include
+	+cd $< && $(ENV_VARS) ./configure $(QT_PLATFORM) $(QT_CONFIG) -prefix $(PREFIX) -I $(PREFIX)/include
 	# Make && Install libraries
 	cd $< && $(ENV_VARS) $(MAKE)
 	cd $< && $(MAKE) -C src sub-corelib-install_subtargets sub-gui-install_subtargets sub-widgets-install_subtargets sub-platformsupport-install_subtargets sub-zlib-install_subtargets sub-bootstrap-install_subtargets
-- 
2.26.2



More information about the vlc-devel mailing list