mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-12 07:30:04 +03: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