mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
bintools-wrapper: enable stackclashprotection hardening flag by default (#374893)
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
"fortify3"
|
||||
"pic"
|
||||
"relro"
|
||||
"stackclashprotection"
|
||||
"stackprotector"
|
||||
"strictoverflow"
|
||||
"zerocallusedregs"
|
||||
|
||||
@@ -346,7 +346,6 @@ let
|
||||
super'.stdenv.cc.defaultHardeningFlags ++ [
|
||||
"shadowstack"
|
||||
"pacret"
|
||||
"stackclashprotection"
|
||||
"trivialautovarinit"
|
||||
]
|
||||
) super'.stdenv;
|
||||
|
||||
Reference in New Issue
Block a user