diff options
| author | annalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com> | 2023-11-26 13:17:00 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-11-29 04:27:28 +0000 |
| commit | 015010b7082323b2fd7ce264e8d5544298f9dc19 (patch) | |
| tree | 57ff027bb5147880bf34cacdfad96d6428c39fa1 | |
| parent | Merge pull request #270801 from NixOS/backport-270388-to-release-23.11 (diff) | |
| download | nixpkgs-015010b7082323b2fd7ce264e8d5544298f9dc19.tar.gz | |
liberasurecode: ignore strict prototypes on clang; fix darwinorigin/backport-270137-to-release-23.11
(cherry picked from commit 0d220827ac37547654418b9e1880e225521ee562)
| -rw-r--r-- | pkgs/applications/misc/liberasurecode/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/misc/liberasurecode/default.nix b/pkgs/applications/misc/liberasurecode/default.nix index 289423c61220..5910bc3eb532 100644 --- a/pkgs/applications/misc/liberasurecode/default.nix +++ b/pkgs/applications/misc/liberasurecode/default.nix @@ -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 |
