diff options
author | Robert Scott <code@humanleg.org.uk> | 2023-02-16 21:19:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-16 21:19:30 +0000 |
commit | 0eedcfc3f4570ae3df43116d5d1e3f586fc36f7d (patch) | |
tree | 07ff452e2aa56b17ce1c3d971c2e0dee4c374d03 /pkgs/development/compilers/gcc/10/default.nix | |
parent | 8997f4a4db9b9e9dc68a5fdb0ae9d23cfd0d85b1 (diff) | |
parent | 4e49c5d2e3550e072a34aa2c761cb7beb82e1309 (diff) |
Merge pull request #212498 from risicle/ris-fortify3
hardening flags: add `FORTIFY_SOURCE=3` support
Diffstat (limited to 'pkgs/development/compilers/gcc/10/default.nix')
-rw-r--r-- | pkgs/development/compilers/gcc/10/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/compilers/gcc/10/default.nix b/pkgs/development/compilers/gcc/10/default.nix index 4df0872688be2..f470cb120de1f 100644 --- a/pkgs/development/compilers/gcc/10/default.nix +++ b/pkgs/development/compilers/gcc/10/default.nix @@ -271,6 +271,7 @@ stdenv.mkDerivation ({ passthru = { inherit langC langCC langObjC langObjCpp langAda langFortran langGo langD version; isGNU = true; + hardeningUnsupportedFlags = [ "fortify3" ]; }; enableParallelBuilding = true; |