intel-graphics-compiler: disable fortify3 hardening flag

This commit is contained in:
Robert Scott 2023-07-09 21:11:46 +01:00
parent 62a35867c5
commit 2c0610c52e

View file

@ -86,6 +86,9 @@ stdenv.mkDerivation rec {
"-DIGC_PREFERRED_LLVM_VERSION=${lib.getVersion llvm}"
];
# causes redefinition of _FORTIFY_SOURCE
hardeningDisable = [ "fortify3" ];
meta = with lib; {
homepage = "https://github.com/intel/intel-graphics-compiler";
description = "LLVM-based compiler for OpenCL targeting Intel Gen graphics hardware";