]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
seatd: Disable overflow warning as error on ppc64/musl
authorKhem Raj <raj.khem@gmail.com>
Wed, 20 Apr 2022 01:36:48 +0000 (18:36 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Apr 2022 09:30:50 +0000 (10:30 +0100)
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 <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/seatd/seatd_0.6.4.bb

index a38f8c21524804597bdea2944a15ca615420a6df..601736adef1b79514e431db2fe35dbfb59cc9223 100644 (file)
@@ -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 \