msdk: Ignore aggregate return warning

That's how their API is implemented

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229>
This commit is contained in:
Edward Hervey 2025-01-10 15:55:42 +01:00 committed by GStreamer Marge Bot
parent b4b140440f
commit 72639bafb7

View file

@ -33,6 +33,8 @@ extra_args = [
'-DGST_USE_UNSTABLE_API',
'-DMFX_DEPRECATED_OFF'
]
# Ignore aggregate from SDK
extra_args += cc.get_supported_arguments(['-Wno-aggregate-return'])
msdk_option = get_option('msdk')
if msdk_option.disabled()