Unverified Commit 961b9e65 authored by Pratham Patel's avatar Pratham Patel
Browse files

catimg: fix compilation with gcc-14

parent 2e30bda3
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;