qt5: Fix sporadic build failure during top-level parallel build
authorAndreas Naumann <anaumann@ultratronik.de>
Tue, 17 Aug 2021 08:39:19 +0000 (10:39 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 28 Aug 2021 20:17:31 +0000 (22:17 +0200)
commit8132216e0ecb1cd115ec9d1a211b967e5bda3054
treeb94e3118792af6b27d4077540c0844df3cde0f87
parentd3ab39fe09b691550adafebc02dc566929808675
qt5: Fix sporadic build failure during top-level parallel build

When using top level parallel build, independent qt5 packages may be
built in parallel. Because of their staging dirs being hardlinked, they
all use the same qt.conf file to manipulate during configure, while
another qt5 package might already use it. This leads to weird build failures
because the folders qmake is using are diverted in erratic ways.
Fix this by actually recreating a non-shared qt.conf file for every package.

Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Reviewed-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/qt5/qt5.mk