qtwebengine: correct how NIX_BUILD_CORES is propagated to the gn driven ninja.

This commit is contained in:
Corey O'Connor 2018-03-26 12:31:11 -07:00
parent 83624b970c
commit 807a308623

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"