nixpkgs/pkgs/applications/virtualization/libgovirt/auto-disable-incompatible-compiler-warnings.patch
Atemu d8ed555748 libgovirt: 0.3.8 -> 0.3.9
Also switched to the meson+ninja
2023-02-04 15:13:35 +01:00

12 lines
418 B
Diff

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