mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03: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
@ -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 New Issue
Block a user