Use a hardened stdenv by default
This commit is contained in:
committed by
Robin Gloster
parent
c5f092c6a7
commit
954e9903ad
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user