Skip to content

Commit

Permalink
fix non GNU libvorbis compile
Browse files Browse the repository at this point in the history
Signed-off-by: Rosen Penev <[email protected]>
  • Loading branch information
neheb committed Jan 5, 2024
1 parent f0704d6 commit 78b7f6e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ project(
'opus:docs=disabled',
'opus:extra-programs=disabled',
'opus:tests=disabled',

# libvorbis uses non C11 functions (alloca)
'libvorbis:c_std=gnu11',
'libvorbis:build.c_std=gnu11',
],
license: 'GPLv2+',
)
Expand Down

0 comments on commit 78b7f6e

Please sign in to comment.