[oe] [meta-gnome][PATCH 1/1] metacity: allow for warnings during compilation

Khem Raj raj.khem at gmail.com
Sun Jun 24 00:31:15 UTC 2018


On Sat, Jun 23, 2018 at 4:56 PM Joe Slater <joe.slater at windriver.com> wrote:
>
> Add a PACKAGECONFIG option which lets us permit warnings during
> compilation until warnings from new compiler versions are
> dealt with.
>
> Signed-off-by: Joe Slater <joe.slater at windriver.com>
> ---
>  meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb b/meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb
> index ce97a80..948c2f1 100644
> --- a/meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb
> +++ b/meta-gnome/recipes-gnome/metacity/metacity_3.28.0.bb
> @@ -23,6 +23,11 @@ SRCREV = "c0d4b2fc0fcd6f2d3c37da935923f9e9ed5eb99f"
>
>  EXTRA_OECONF += "--disable-xinerama"
>
> +PACKAGECONFIG ?= ""
> +

since we defaulted to gcc8 in oe-core, perhaps its better to turn it on
by default.

> +# enable as neccessary until new warnings are dealt with
> +PACKAGECONFIG[noWerror] = "--disable-Werror,,,"
> +
>  do_configure_prepend() {
>      cd ${S}
>      aclocal --install || exit 1
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list