Skip to content

Commit

Permalink
liberasurecode: remove -Werror
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Dec 1, 2023
1 parent 0f58b77 commit 76b013d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/applications/misc/liberasurecode/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,18 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace doc/doxygen.cfg.in \
--replace "GENERATE_MAN = NO" "GENERATE_MAN = YES"
substituteInPlace Makefile.am src/Makefile.am \
--replace "-Werror" ""
'';

nativeBuildInputs = [ autoreconfHook doxygen installShellFiles ];

buildInputs = [ zlib ];

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

postInstall = ''
Expand Down

0 comments on commit 76b013d

Please sign in to comment.