This avoids adding an extra build flag which may not be supported by the compiler. Signed-off-by: Eduardo Lima (Etrunko) <etrunko@xxxxxxxxxx> --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 6fa67dc..f9ea049 100644 --- a/meson.build +++ b/meson.build @@ -159,7 +159,7 @@ glib_encoded_version = 'GLIB_VERSION_@0@_@1@'.format(glib_major_minor[0], glib_m spice_common_global_cflags += ['-DGLIB_VERSION_MIN_REQUIRED=@0@'.format(glib_encoded_version), '-DGLIB_VERSION_MAX_ALLOWED=@0@'.format(glib_encoded_version)] -foreach arg : spice_common_global_cflags +foreach arg : compiler.get_supported_arguments(spice_common_global_cflags) add_project_arguments(arg, language : 'c') endforeach -- 2.17.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel