Skip to content

Commit

Permalink
openh264: disable -Werror
Browse files Browse the repository at this point in the history
-Werror isn't suitable for distro builds because it means new
breakages can appear before upstream has a chance to do anything about
them, and they might not be worth failing the build over.

Fixes building for musl.

Link: cisco/openh264#3809
  • Loading branch information
alyssais committed Nov 30, 2024
1 parent c148746 commit f7398ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/by-name/op/openh264/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ stdenv.mkDerivation (finalAttrs: {

outputs = [ "out" "dev" ];

postPatch = ''
substituteInPlace meson.build --replace-fail "'-Werror'," ""
'';

nativeBuildInputs = [
meson
nasm
Expand Down

0 comments on commit f7398ad

Please sign in to comment.