hdf4: fix build with clang 16
This commit is contained in:
parent
66bcff76eb
commit
d5f9e4c783
@ -95,6 +95,13 @@ stdenv.mkDerivation rec {
|
|||||||
else [ "-DHDF4_BUILD_FORTRAN=OFF" ]
|
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;
|
doCheck = true;
|
||||||
|
|
||||||
excludedTests = lib.optionals stdenv.isDarwin [
|
excludedTests = lib.optionals stdenv.isDarwin [
|
||||||
|
Loading…
Reference in New Issue
Block a user