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:46:00 +02:00
parent 37670be8d8
commit 099584a27c
+1 -1
View File
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
sha256 = "16ii9sqracvh2r1gfzhmlypl269nnbkpvrwa7270k35d3bigk9h5";
};
hardeningDisable = [ "format" ];
hardeningDisable = [ "format" ] ++ lib.optional enableStatic [ "fortify" ];
patches = [ ./busybox-in-store.patch ];