mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #271335 from SuperSandro2000/liberasurecode
liberasurecode: remove -Werror
This commit is contained in:
commit
1ba227e333
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user