ffmpeg: disable pacret & shadowstack if withCudaLLVM (#398037)

This commit is contained in:
Robert Scott
2025-04-12 10:59:39 +01:00
committed by GitHub
@@ -1019,6 +1019,10 @@ stdenv.mkDerivation (
}
// lib.optionalAttrs withCudaLLVM {
# remove once https://github.com/NixOS/nixpkgs/issues/318674 is addressed properly
hardeningDisable = [ "zerocallusedregs" ];
hardeningDisable = [
"pacret"
"shadowstack"
"zerocallusedregs"
];
}
)