Skip to contentSkip to conversation

seatd: Disable overflow warning as error on ppc64/musl

PATCH New Khem Raj 1 participant 1 message Apr 21, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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

---
 meta/recipes-core/seatd/seatd_0.6.4.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-core/seatd/seatd_0.6.4.bb +3 -0
index a38f8c21524..601736adef1 100644
@@ -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 \
Signature · 1 line
2.36.0