x265: Ignore undef in external headers

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229>
This commit is contained in:
Edward Hervey 2025-01-10 17:24:30 +01:00 committed by GStreamer Marge Bot
parent c79164a02e
commit ad79fbd744

View file

@ -7,7 +7,7 @@ x265_dep = dependency('x265', required: x265_opt)
if x265_dep.found()
gstx265 = library('gstx265',
'gstx265enc.c',
c_args : gst_plugins_bad_args,
c_args : gst_plugins_bad_args + cc.get_supported_arguments(['-Wno-undef']),
include_directories : [configinc],
dependencies : [gstpbutils_dep, gstvideo_dep, x265_dep],
install : true,