mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 11:49:00 +08:00
14 lines
511 B
Diff
14 lines
511 B
Diff
diff --git a/subprojects/gstreamer/meson.build b/subprojects/gstreamer/meson.build
|
|
index 3b2cbba..18dd8d0 100644
|
|
--- a/subprojects/gstreamer/meson.build
|
|
+++ b/subprojects/gstreamer/meson.build
|
|
@@ -493,7 +493,7 @@ if cc.has_header('execinfo.h')
|
|
endif
|
|
|
|
gst_debug = get_option('gst_debug')
|
|
-if not gst_debug
|
|
+if not gst_debug and cc.has_argument('-Wno-unused')
|
|
if cc.get_argument_syntax() == 'msvc'
|
|
msvc_args = cc.get_supported_arguments([
|
|
'/wd4101', # 'identifier' : unreferenced local variable
|