Skip to content

Commit

Permalink
Merge pull request #168086 from a-m-joseph/qtbase-use-parallel-make
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Apr 13, 2022
2 parents 5368467 + 8660a09 commit 4c8c13b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/libraries/qt-5/modules/qtbase.nix
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ stdenv.mkDerivation {
''}
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QT_PLUGIN_PREFIX=\"$qtPluginPrefix\""
# paralellize compilation of qtmake, which happens within ./configure
export MAKEFLAGS+=" -j$NIX_BUILD_CORES"
'' + lib.optionalString (compareVersion "5.15.0" >= 0) ''
./bin/syncqt.pl -version $version
'';
Expand Down

0 comments on commit 4c8c13b

Please sign in to comment.