mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
netpbm: fix build with clang 16
This commit is contained in:
parent
b1b0b6e3e7
commit
bc30be8ce6
@ -95,6 +95,10 @@ stdenv.mkDerivation {
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user