2022-11-28 21:09:25 +01:00
|
|
|
diff --git a/subprojects/gstreamer/meson.build b/subprojects/gstreamer/meson.build
|
2022-02-23 05:09:48 +08:00
|
|
|
index bed8c4e..772809e 100644
|
2022-11-28 21:09:25 +01:00
|
|
|
--- a/subprojects/gstreamer/meson.build
|
|
|
|
+++ b/subprojects/gstreamer/meson.build
|
2022-10-03 23:07:49 +02:00
|
|
|
@@ -435,8 +435,8 @@ if cc.has_header('execinfo.h')
|
2022-02-23 05:09:48 +08:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
gst_debug = get_option('gst_debug')
|
|
|
|
-if not gst_debug
|
2022-10-03 23:07:49 +02:00
|
|
|
+if not gst_debug and cc.has_argument('-Wno-unused')
|
2022-02-23 05:09:48 +08:00
|
|
|
add_project_arguments(['-Wno-unused'], language: 'c')
|
|
|
|
endif
|
|
|
|
|