[PATCH xserver 3/3] meson: Port default warning flags from xorg-macros

Daniel Stone daniel at fooishbar.org
Wed Sep 27 17:20:32 UTC 2017


Hey,

On 27 September 2017 at 18:09, Adam Jackson <ajax at redhat.com> wrote:
> +common_wflags = []
> +foreach wflag: test_wflags
> +    if cc.has_argument(wflag)
> +        common_wflags += [ wflag ]
> +    endif
> +endforeach
> +
> +add_global_arguments(common_wflags, language : 'c')

If you're willing to take the dep, this is:
add_global_arguments(cc.get_supported_arguments(test_wflags), language: 'c')

But the series is:
Reviewed-by: Daniel Stone <daniels at collabora.com>

Cheers,
Daniel


More information about the xorg-devel mailing list