Disable zerocallusedregs in llvm-intel

Doesn't work with neither spirv nor nvptx

Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
This commit is contained in:
2026-03-13 15:39:58 +01:00
parent 6c4ce0d913
commit d28bb762fd

View File

@@ -191,6 +191,8 @@ stdenv.mkDerivation {
(lib.cmakeBool "LIBCLC_NATIVECPU_HOST_TARGET" false)
];
hardeningDisable = [ "zerocallusedregs" ];
postPatch =
let