mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-06 20:23:39 +00:00
smatch: clang build fix (#336811)
This commit is contained in:
commit
1a6e311669
@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-Pv3bd2cjnQKnhH7TrkYWfDEeaq6u/q/iK1ZErzn6bME=";
|
||||
};
|
||||
|
||||
NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isClang [
|
||||
"-Wno-incompatible-function-pointer-types"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ sqlite openssl ]
|
||||
|
Loading…
Reference in New Issue
Block a user