Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pkgs/c/compat.ffmpeg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7765,6 +7765,14 @@ static const FFOutputFormat * const muxer_list[] = {
},
linux = {
cflags = {
-- musl: <sys/ioctl.h> declares ioctl(int, int, ...) while glibc
-- (and ffmpeg's v4l2 wrappers) use unsigned long — gcc >= 14
-- makes the pointer-type mismatch a hard error by default.
-- Downgrade to a warning so x86_64-linux-musl consumer builds
-- (mcpp build --target x86_64-linux-musl) work; no effect on
-- glibc builds. Verified: full opencv-m + compat.ffmpeg musl
-- static build + tests green with only this change.
"-Wno-error=incompatible-pointer-types",
"-DPIC",
"-fomit-frame-pointer",
"-fno-math-errno",
Expand Down
Loading