gcc6: disable format hardening flag

This commit is contained in:
Robin Gloster 2016-06-14 11:45:47 +00:00
parent 99cc3fa6ca
commit 06ed235347

View File

@ -223,6 +223,8 @@ stdenv.mkDerivation ({
libc_dev = stdenv.cc.libc_dev;
hardeningDisable = [ "format" ];
postPatch =
if (stdenv.isGNU
|| (libcCross != null # e.g., building `gcc.crossDrv'