All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-networking][PATCH 1/2] spice: append -Wno-error=address-of-packed-member only for target
@ 2019-09-26 16:26 Martin Jansa
  2019-09-26 16:26 ` [meta-networking][PATCH 2/2] Revert "spice: Drop broken native" Martin Jansa
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Martin Jansa @ 2019-09-26 16:26 UTC (permalink / raw)
  To: openembedded-devel

* 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"
 
 PACKAGECONFIG_class-nativesdk = ""
 PACKAGECONFIG ?= "sasl"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-09-27  7:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.