3
0
Fork 0
forked from mirrors/nixpkgs

musl: disable stackprotector hardening

Prevents busybox segfault
This commit is contained in:
obadz 2016-08-29 13:04:29 +01:00
parent b74793bd1c
commit 0e9d355397

View file

@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
# required to avoid busybox segfaulting on startup when invoking
# nix-build "<nixpkgs/pkgs/stdenv/linux/make-bootstrap-tools.nix>"
hardeningDisable = [ "stackprotector" ];
preConfigure = '' preConfigure = ''
configureFlagsArray+=("--syslibdir=$out/lib") configureFlagsArray+=("--syslibdir=$out/lib")
''; '';