Unverified Commit 6a97d508 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

catimg: fix compilation with gcc-14 (#369024)

parents 4892c9db 961b9e65
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -17,6 +17,9 @@ stdenv.mkDerivation rec {
  };

  nativeBuildInputs = [ cmake ];
  env = lib.optionalAttrs (stdenv.hostPlatform.libc == "glibc") {
    CFLAGS = "-D_DEFAULT_SOURCE";
  };

  meta = with lib; {
    license = licenses.mit;