superlu: fix build with clang 16

+7
+7
pkgs/development/libraries/science/math/superlu/default.nix
··· 21 "-DUSE_XSDK_DEFAULTS=true" 22 ]; 23 24 patches = [ 25 ./add-superlu-lib-as-dependency-for-the-unit-tests.patch 26 ];
··· 21 "-DUSE_XSDK_DEFAULTS=true" 22 ]; 23 24 + env = lib.optionalAttrs stdenv.cc.isClang { 25 + NIX_CFLAGS_COMPILE = toString [ 26 + "-Wno-error=implicit-function-declaration" 27 + "-Wno-error=implicit-int" 28 + ]; 29 + }; 30 + 31 patches = [ 32 ./add-superlu-lib-as-dependency-for-the-unit-tests.patch 33 ];