mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
ffmpeg: disable pacret & shadowstack if withCudaLLVM
for the same reason as with zerocallusedregs
This commit is contained in:
parent
a78a226cec
commit
af408e320b
1 changed files with 5 additions and 1 deletions
|
@ -1012,6 +1012,10 @@ stdenv.mkDerivation (
|
|||
}
|
||||
// lib.optionalAttrs withCudaLLVM {
|
||||
# remove once https://github.com/NixOS/nixpkgs/issues/318674 is addressed properly
|
||||
hardeningDisable = [ "zerocallusedregs" ];
|
||||
hardeningDisable = [
|
||||
"pacret"
|
||||
"shadowstack"
|
||||
"zerocallusedregs"
|
||||
];
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue