Unverified Commit 69d668c4 authored by Emily Trau's avatar Emily Trau Committed by GitHub
Browse files

Merge pull request #270812 from NixOS/backport-270137-to-release-23.11

[Backport release-23.11] liberasurecode: ignore strict prototypes on clang; fix darwin
parents 36e04f1e 015010b7
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -29,7 +29,11 @@ stdenv.mkDerivation rec {

  buildInputs = [ zlib ];

  configureFlags = [ "--enable-doxygen" ];
  configureFlags = [
    "--enable-doxygen"
  ] ++ lib.optionals stdenv.cc.isClang [
    "CFLAGS=-Wno-error=strict-prototypes"
  ];

  postInstall = ''
    # remove useless man pages about directories