diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2020-07-25 19:36:10 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2020-07-25 19:47:43 +0100 |
commit | 798249dc9f6370e3aabdab9f3cbd8e3ea9049628 (patch) | |
tree | 112dca77dfdc7f58f3be2743c27a7fd61f752846 | |
parent | d03e959f54b7f9c5d3504abb1701df21f6c08e0b (diff) | |
download | gstreamer-plugins-bad-798249dc9f6370e3aabdab9f3cbd8e3ea9049628.tar.gz |
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>
-rw-r--r-- | ext/directfb/meson.build | 2 | ||||
-rw-r--r-- | tests/examples/directfb/meson.build | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/directfb/meson.build b/ext/directfb/meson.build index 2cc6f0d4c..ac264c2bf 100644 --- a/ext/directfb/meson.build +++ b/ext/directfb/meson.build @@ -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, diff --git a/tests/examples/directfb/meson.build b/tests/examples/directfb/meson.build index 75fc145ba..563c7a16b 100644 --- a/tests/examples/directfb/meson.build +++ b/tests/examples/directfb/meson.build @@ -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 |