All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-networking][PATCH 1/2] spice: append -Wno-error=address-of-packed-member only for target
Date: Thu, 26 Sep 2019 22:48:55 +0300	[thread overview]
Message-ID: <20190926194855.GA27652@localhost> (raw)
In-Reply-To: <20190926162655.375600-1-Martin.Jansa@gmail.com>

On Thu, Sep 26, 2019 at 04:26:54PM +0000, Martin Jansa wrote:
> * with older native gcc on host this will break spice-native with:
>   cc1: error: -Werror=address-of-packed-member: no option -Waddress-of-packed-member
> 
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  meta-networking/recipes-support/spice/spice_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-networking/recipes-support/spice/spice_git.bb b/meta-networking/recipes-support/spice/spice_git.bb
> index 30e939ac07..2829a59d15 100644
> --- a/meta-networking/recipes-support/spice/spice_git.bb
> +++ b/meta-networking/recipes-support/spice/spice_git.bb
> @@ -37,7 +37,7 @@ DEPENDS_append_class-nativesdk = "nativesdk-openssl"
>  export PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python"
>  export PYTHONPATH="${PKG_CONFIG_SYSROOT_DIR}${libdir}/python2.7/site-packages"
>  
> -CFLAGS_append = " -Wno-error=address-of-packed-member"
> +CFLAGS_append_class-target = " -Wno-error=address-of-packed-member"
>...

Least hassle would be
  CFLAGS_append = " -Wno-error"

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



  parent reply	other threads:[~2019-09-26 19:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-26 16:26 [meta-networking][PATCH 1/2] spice: append -Wno-error=address-of-packed-member only for target Martin Jansa
2019-09-26 16:26 ` [meta-networking][PATCH 2/2] Revert "spice: Drop broken native" Martin Jansa
2019-09-26 17:02 ` [meta-networking][PATCH 1/2] spice: append -Wno-error=address-of-packed-member only for target Martin Jansa
2019-09-26 18:33 ` Khem Raj
2019-09-26 19:48 ` Adrian Bunk [this message]
2019-09-27  3:56   ` Robert Yang
2019-09-27  7:20     ` Robert Yang
2019-09-27  7:42       ` Martin Jansa
2019-09-27  7:43         ` Khem Raj
2019-09-27  7:46           ` Robert Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190926194855.GA27652@localhost \
    --to=bunk@stusta.de \
    --cc=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.