diff options
author | Robert Scott <code@humanleg.org.uk> | 2023-01-21 17:39:36 +0000 |
---|---|---|
committer | Robert Scott <code@humanleg.org.uk> | 2023-01-24 21:52:12 +0000 |
commit | c09e1fa406f95abff9d6eab173629c61806bb661 (patch) | |
tree | 24ae7154a10c17a3f62829c0583d584ad0127708 /pkgs/development/compilers/gcc/10/default.nix | |
parent | 74ea4fe24fb8fe40732ca4f16a70de36ba01ff61 (diff) |
gcc: mark hardeningUnsupportedFlags fortify3 for all but gcc 12
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 1a0a6e4b0d0ec..7bee124d797f3 100644 --- a/pkgs/development/compilers/gcc/10/default.nix +++ b/pkgs/development/compilers/gcc/10/default.nix @@ -269,6 +269,7 @@ stdenv.mkDerivation ({ passthru = { inherit langC langCC langObjC langObjCpp langAda langFortran langGo langD version; isGNU = true; + hardeningUnsupportedFlags = [ "fortify3" ]; }; enableParallelBuilding = true; |