Use a hardened stdenv by default

This commit is contained in:
Franz Pletz
2016-01-30 16:36:57 +00:00
committed by Robin Gloster
parent c5f092c6a7
commit 954e9903ad
51 changed files with 131 additions and 9 deletions
@@ -134,6 +134,8 @@ stdenv.mkDerivation ({
inherit langC langCC langFortran langJava langAda;
};
noHardening_all = true;
patches =
[ ]
++ optional (cross != null) ../libstdc++-target.patch
@@ -218,6 +218,8 @@ stdenv.mkDerivation ({
inherit patches;
noHardening_format = true;
postPatch =
if (stdenv.isGNU
|| (libcCross != null # e.g., building `gcc.crossDrv'