diff options
author | Robert Scott <code@humanleg.org.uk> | 2023-10-08 22:56:46 +0100 |
---|---|---|
committer | Robert Scott <code@humanleg.org.uk> | 2024-01-20 13:48:33 +0000 |
commit | 40868719b0ff142d0df5fba0f2ec7f370e072048 (patch) | |
tree | 40fba5f80f1034999349bd589b9dc0419f12384b /pkgs/stdenv/linux/bootstrap-tools-musl | |
parent | 81f22730b09c9b201c576195964d7b715f96c90a (diff) |
cc-wrapper: add zerocallusedregs hardening flag
this uses the value `used-gpr` which seems to be a commonly chosen value for general use
Diffstat (limited to 'pkgs/stdenv/linux/bootstrap-tools-musl')
-rw-r--r-- | pkgs/stdenv/linux/bootstrap-tools-musl/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/stdenv/linux/bootstrap-tools-musl/default.nix b/pkgs/stdenv/linux/bootstrap-tools-musl/default.nix index 569f0c6f31e2f..ad2449cfd9ff7 100644 --- a/pkgs/stdenv/linux/bootstrap-tools-musl/default.nix +++ b/pkgs/stdenv/linux/bootstrap-tools-musl/default.nix @@ -15,5 +15,5 @@ derivation ({ langC = true; langCC = true; isGNU = true; - hardeningUnsupportedFlags = [ "fortify3" ]; + hardeningUnsupportedFlags = [ "fortify3" "zerocallusedregs" ]; } // extraAttrs) |