diff --git a/pkgs/test/cc-wrapper/hardening.nix b/pkgs/test/cc-wrapper/hardening.nix index 2124b58d340d..5ae8a0196873 100644 --- a/pkgs/test/cc-wrapper/hardening.nix +++ b/pkgs/test/cc-wrapper/hardening.nix @@ -116,7 +116,7 @@ let ( '' if ${lib.optionalString (!expectFailure) "!"} { - hardening-check --nocfprotection \ + hardening-check --nocfprotection --nobranchprotection \ ${lib.optionalString ignoreBindNow "--nobindnow"} \ ${lib.optionalString ignoreFortify "--nofortify"} \ ${lib.optionalString ignorePie "--nopie"} \