smatch: clang build fix (#336811)

authored by Aleksana and committed by GitHub 1a6e3116 973e1355

+4
+4
pkgs/development/tools/analysis/smatch/default.nix
··· 21 sha256 = "sha256-Pv3bd2cjnQKnhH7TrkYWfDEeaq6u/q/iK1ZErzn6bME="; 22 }; 23 24 nativeBuildInputs = [ pkg-config ]; 25 26 buildInputs = [ sqlite openssl ]
··· 21 sha256 = "sha256-Pv3bd2cjnQKnhH7TrkYWfDEeaq6u/q/iK1ZErzn6bME="; 22 }; 23 24 + NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isClang [ 25 + "-Wno-incompatible-function-pointer-types" 26 + ]; 27 + 28 nativeBuildInputs = [ pkg-config ]; 29 30 buildInputs = [ sqlite openssl ]