hdf4: fix build with clang 16
This commit is contained in:
parent
66bcff76eb
commit
d5f9e4c783
1 changed files with 7 additions and 0 deletions
|
@ -95,6 +95,13 @@ stdenv.mkDerivation rec {
|
|||
else [ "-DHDF4_BUILD_FORTRAN=OFF" ]
|
||||
);
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = toString [
|
||||
"-Wno-error=implicit-function-declaration"
|
||||
"-Wno-error=implicit-int"
|
||||
];
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
excludedTests = lib.optionals stdenv.isDarwin [
|
||||
|
|
Loading…
Reference in a new issue