mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
busybox: fix static build
The static build fails with undefined references to __memcpy_chk when the fortify hardening is enabled.
This commit is contained in:
parent
37670be8d8
commit
099584a27c
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "16ii9sqracvh2r1gfzhmlypl269nnbkpvrwa7270k35d3bigk9h5";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
hardeningDisable = [ "format" ] ++ lib.optional enableStatic [ "fortify" ];
|
||||
|
||||
patches = [ ./busybox-in-store.patch ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue