Unverified Commit 997f2bee authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

easytag: fix linux / GCC 15 build (#478006)

parents 31940f9c 7a0e0502
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -40,7 +40,12 @@ stdenv.mkDerivation rec {
    })
  ];

  env = {
    NIX_LDFLAGS = "-lid3tag -lz";
    # Note: this allows id3lib to be found at configure time, and also prevents
    # compilation errors on Linux (GCC 15). Clang / Darwin seems to be unaffected.
    NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-std=c17 -Wno-implicit-function-declaration";
  };

  nativeBuildInputs = [
    pkg-config