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:
parent
b74793bd1c
commit
0e9d355397
|
@ -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")
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue