meson: Don't pass -Werror to vendored code
Do it the correct way with libusrsctp -- override the option so that it's done in a compiler-agnostic and future-proof way. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2494>
This commit is contained in:
parent
5da9f62313
commit
b2d22c0f00
@ -31,7 +31,6 @@ else
|
|||||||
'-Wno-missing-declarations',
|
'-Wno-missing-declarations',
|
||||||
'-Wno-old-style-definition',
|
'-Wno-old-style-definition',
|
||||||
'-Wno-redundant-decls',
|
'-Wno-redundant-decls',
|
||||||
'-Wno-error',
|
|
||||||
])
|
])
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -169,6 +168,7 @@ usrsctp_static = static_library('usrsctp-static', sources,
|
|||||||
c_args: compile_args,
|
c_args: compile_args,
|
||||||
dependencies: dependencies,
|
dependencies: dependencies,
|
||||||
include_directories: include_dirs,
|
include_directories: include_dirs,
|
||||||
|
override_options: ['werror=false'],
|
||||||
install: false)
|
install: false)
|
||||||
|
|
||||||
# Declare dependency
|
# Declare dependency
|
||||||
|
@ -81,7 +81,8 @@ libmfx_static = static_library('libmfx-static',
|
|||||||
c_args : libmfx_extra_args,
|
c_args : libmfx_extra_args,
|
||||||
cpp_args : libmfx_extra_args,
|
cpp_args : libmfx_extra_args,
|
||||||
dependencies : libmfx_extra_deps,
|
dependencies : libmfx_extra_deps,
|
||||||
include_directories : libmfx_incl
|
include_directories : libmfx_incl,
|
||||||
|
override_options: ['werror=false'],
|
||||||
)
|
)
|
||||||
|
|
||||||
libmfx_internal_dep = declare_dependency(
|
libmfx_internal_dep = declare_dependency(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user