Skip to content

Commit

Permalink
uclibc: disable parallel building
Browse files Browse the repository at this point in the history
  • Loading branch information
orivej committed Dec 6, 2017
1 parent f9a5cac commit 5d21268
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/os-specific/linux/uclibc/default.nix
Expand Up @@ -76,7 +76,7 @@ stdenv.mkDerivation {
${if cross != null then stdenv.lib.attrByPath [ "uclibc" "extraConfig" ] "" cross else ""}
$extraCrossConfig
EOF
make oldconfig
yes "" | make oldconfig
'';

hardeningDisable = [ "stackprotector" ];
Expand All @@ -88,7 +88,9 @@ stdenv.mkDerivation {

buildInputs = stdenv.lib.optional (gccCross != null) gccCross;

enableParallelBuilding = true;
# `make libpthread/nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.h`:
# error: bits/sysnum.h: No such file or directory
enableParallelBuilding = false;

installPhase = ''
mkdir -p $out
Expand Down

0 comments on commit 5d21268

Please sign in to comment.