forked from mirrors/nixpkgs
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;
|
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")
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue