diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-12-01 02:25:18 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-12-01 02:25:18 +0100 |
commit | 76b013db0005475a04830075d3083a07429bbbef (patch) | |
tree | 09baba908522fab97de02b7dfa21b4564952e478 /pkgs/applications/misc/liberasurecode | |
parent | 0f58b779ca5a2f4b085fee3940c7b40a57b1c5ab (diff) |
liberasurecode: remove -Werror
Diffstat (limited to 'pkgs/applications/misc/liberasurecode')
-rw-r--r-- | pkgs/applications/misc/liberasurecode/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/misc/liberasurecode/default.nix b/pkgs/applications/misc/liberasurecode/default.nix index 5910bc3eb532e..f94496d0b125e 100644 --- a/pkgs/applications/misc/liberasurecode/default.nix +++ b/pkgs/applications/misc/liberasurecode/default.nix @@ -23,6 +23,9 @@ 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 ]; @@ -30,9 +33,8 @@ stdenv.mkDerivation rec { buildInputs = [ zlib ]; configureFlags = [ + "--disable-werror" "--enable-doxygen" - ] ++ lib.optionals stdenv.cc.isClang [ - "CFLAGS=-Wno-error=strict-prototypes" ]; postInstall = '' |