From c68739f4f0c3d1b3d3278da299865d8be772a0be Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Thu, 11 Jul 2024 23:10:19 +0100 Subject: [PATCH] bootstrap-tools-musl: match bootstrap-tools hardeningUnsupportedFlags seems we missed adding stackclashprotection --- pkgs/stdenv/linux/bootstrap-tools-musl/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/stdenv/linux/bootstrap-tools-musl/default.nix b/pkgs/stdenv/linux/bootstrap-tools-musl/default.nix index 6d2490acfa47..4450679983ff 100644 --- a/pkgs/stdenv/linux/bootstrap-tools-musl/default.nix +++ b/pkgs/stdenv/linux/bootstrap-tools-musl/default.nix @@ -15,5 +15,10 @@ derivation ({ langC = true; langCC = true; isGNU = true; - hardeningUnsupportedFlags = [ "fortify3" "zerocallusedregs" "trivialautovarinit" ]; + hardeningUnsupportedFlags = [ + "fortify3" + "stackclashprotection" + "trivialautovarinit" + "zerocallusedregs" + ]; } // extraAttrs)