spice: ignore all warnings not just address-of-packed-member

* 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
  because older gcc doesn't recognize address-of-packed-member warning
  to work around this ignore them all

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Martin Jansa
2019-10-01 09:07:55 +00:00
committed by Khem Raj
parent 1f80fd9618
commit d002adaf59
@@ -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 = " -Wno-error"
PACKAGECONFIG_class-nativesdk = ""
PACKAGECONFIG ?= "sasl"