Merge pull request #265252 from wegank/netpbm-clang-16

netpbm: fix build with clang 16
This commit is contained in:
Weijia Wang
2023-11-04 01:54:29 +01:00
committed by GitHub
+4
View File
@@ -95,6 +95,10 @@ stdenv.mkDerivation {
runHook postConfigure
'';
env = lib.optionalAttrs stdenv.cc.isClang {
NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";
};
installPhase = ''
runHook preInstall