1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

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;
# required to avoid busybox segfaulting on startup when invoking
# nix-build "<nixpkgs/pkgs/stdenv/linux/make-bootstrap-tools.nix>"
hardeningDisable = [ "stackprotector" ];
preConfigure = ''
configureFlagsArray+=("--syslibdir=$out/lib")
'';