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:
Joachim Fasting 2016-09-09 04:40:14 +02:00
parent 37670be8d8
commit 099584a27c
No known key found for this signature in database
GPG key ID: 7544761007FE4E08

View file

@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
sha256 = "16ii9sqracvh2r1gfzhmlypl269nnbkpvrwa7270k35d3bigk9h5";
};
hardeningDisable = [ "format" ];
hardeningDisable = [ "format" ] ++ lib.optional enableStatic [ "fortify" ];
patches = [ ./busybox-in-store.patch ];