2022-11-29 04:09:25 +08: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-29 04:09:25 +08:00
|
|
|
--- a/subprojects/gstreamer/meson.build
|
|
|
|
+++ b/subprojects/gstreamer/meson.build
|
2022-10-04 05:07:49 +08: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-04 05:07:49 +08: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
|
|
|
|
|