apbs: fix build with clang 16
This commit is contained in:
parent
95d8200aba
commit
66bcff76eb
|
@ -33,6 +33,10 @@ let
|
|||
"-DBUILD_SUPERLU=OFF"
|
||||
];
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-int";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
blas
|
||||
superlu
|
||||
|
@ -92,6 +96,10 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
"-DENABLE_TESTS=1"
|
||||
];
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-function-pointer-types";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in New Issue
Block a user