3
0
Fork 0
forked from mirrors/nixpkgs

liberasurecode: remove -Werror

This commit is contained in:
Sandro Jäckel 2023-12-01 02:25:18 +01:00
parent 0f58b779ca
commit 76b013db00
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -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 = ''