uclibc: disable parallel building

https://hydra.nixos.org/build/60933068
This commit is contained in:
Orivej Desh 2017-12-06 11:57:10 +00:00
parent f9a5cacae7
commit 5d21268e80

View file

@ -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" ];
@ -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