mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +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 {
|
// lib.optionalAttrs withCudaLLVM {
|
||||||
# remove once https://github.com/NixOS/nixpkgs/issues/318674 is addressed properly
|
# 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