ffmpeg: disable pacret & shadowstack if withCudaLLVM

for the same reason as with zerocallusedregs
This commit is contained in:
Robert Scott 2025-04-12 00:52:21 +01:00
parent a78a226cec
commit af408e320b

View file

@ -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"
];
}
)