directfb: suppress compiler warning from directfb headers

On debian sid, directfb 1.7.7

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1467>
This commit is contained in:
Tim-Philipp Müller 2020-07-25 19:36:10 +01:00
parent d03e959f54
commit 798249dc9f
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ directfb_dep = dependency('directfb', version : '>= 0.9.24', required : get_opti
if directfb_dep.found()
gstdirectfb = library('gstdirectfb',
'dfbvideosink.c',
c_args : gst_plugins_bad_args,
c_args : gst_plugins_bad_args + cc.get_supported_arguments('-Wno-redundant-decls'),
include_directories : [configinc],
dependencies : [gstvideo_dep, directfb_dep],
install : true,

View file

@ -2,6 +2,6 @@ if directfb_dep.found()
executable('gstdfb', 'gstdfb.c',
include_directories : [configinc],
dependencies : [gst_dep, directfb_dep, libm],
c_args : gst_plugins_bad_args,
c_args : gst_plugins_bad_args + cc.get_supported_arguments('-Wno-redundant-decls'),
install: false)
endif