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