libAfterImage: fix build with clang 16

This commit is contained in:
Weijia Wang
2023-11-07 03:23:41 +01:00
parent 32da89a1a1
commit 0c7a651449
@@ -84,6 +84,10 @@ stdenv.mkDerivation {
"--${if withX then "with" else "without"}-x"
];
env = lib.optionalAttrs stdenv.cc.isClang {
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
};
meta = with lib; {
homepage = "http://www.afterstep.org/afterimage/";
description = "A generic image manipulation library";