Unverified Commit 0d220827 authored by annalee's avatar annalee
Browse files

liberasurecode: ignore strict prototypes on clang; fix darwin

parent 5689f242
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