depot/pkgs/by-name/li/libgovirt/auto-disable-incompatible-compiler-warnings.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
418 B
Diff
Raw Normal View History

diff --git a/meson.build b/meson.build
index d5c3627..2bd692a 100644
--- a/meson.build
+++ b/meson.build
@@ -86,7 +86,7 @@ govirt_global_cflags = ['-std=c99',
'-Woverride-init',
'-Wno-unused-parameter']
-foreach arg : govirt_global_cflags
+foreach arg : compiler.get_supported_arguments(govirt_global_cflags)
add_project_arguments(arg, language : 'c')
endforeach