Merge pull request #37889 from coreyoconnor/ninjaflags

qtwebengine: correct how NIX_BUILD_CORES is propagated to the gn ninja
This commit is contained in:
Thomas Tuegel 2018-03-27 09:02:28 -05:00 committed by GitHub
commit 6cd5667d4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,8 +63,9 @@ qtModule {
src/3rdparty/chromium/gpu/config/gpu_info_collector_linux.cc
'';
preConfigure = ''
export MAKEFLAGS=-j$NIX_BUILD_CORES
export NINJAFLAGS=-j$NIX_BUILD_CORES
if [ -d "$PWD/tools/qmake" ]; then
QMAKEPATH="$PWD/tools/qmake''${QMAKEPATH:+:}$QMAKEPATH"