From: Khem Raj Date: Wed, 20 Apr 2022 01:36:48 +0000 (-0700) Subject: seatd: Disable overflow warning as error on ppc64/musl X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~4352 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=381cf11b994d2bf40ac8781e18b5eac17b3b6cb0;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git seatd: Disable overflow warning as error on ppc64/musl Disabling the warning is easier fix then trying to fix it in musl which results in ABI breakage and disabling the Werror gets us along by doing minimal change, also see [1] [1] https://todo.sr.ht/~kennylevinsen/seatd/10 Signed-off-by: Khem Raj Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/seatd/seatd_0.6.4.bb b/meta/recipes-core/seatd/seatd_0.6.4.bb index a38f8c21524..601736adef1 100644 --- a/meta/recipes-core/seatd/seatd_0.6.4.bb +++ b/meta/recipes-core/seatd/seatd_0.6.4.bb @@ -13,6 +13,9 @@ S = "${WORKDIR}/git" inherit meson pkgconfig update-rc.d +# https://www.openwall.com/lists/musl/2020/01/20/3 +CFLAGS:append:libc-musl:powerpc64le = " -Wno-error=overflow" + PACKAGECONFIG ?= " \ ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ libseat-builtin \