Skip to content

Commit

Permalink
bintools-wrapper: enable stackclashprotection by default
Browse files Browse the repository at this point in the history
  • Loading branch information
risicle committed Jan 11, 2025
1 parent 33e2500 commit 04791f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions pkgs/build-support/bintools-wrapper/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"fortify3"
"pic"
"relro"
"stackclashprotection"
"stackprotector"
"strictoverflow"
"zerocallusedregs"
Expand Down
1 change: 0 additions & 1 deletion pkgs/top-level/stage.nix
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ let
super'.stdenv.cc.defaultHardeningFlags ++ [
"shadowstack"
"pacret"
"stackclashprotection"
"trivialautovarinit"
]
) super'.stdenv;
Expand Down

0 comments on commit 04791f4

Please sign in to comment.