summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-05-22 20:52:45 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-05-29 15:14:37 +0100
commit0196c57ef17d866f72844e089eefea65cb3ca35a (patch)
tree6f5d0e6e31b1f883c91d47feb94742cae6b561f9 /meta
parent6498ad48d9cea440ec197d19383f5b7e30324b1c (diff)
downloadpoky-0196c57ef17d866f72844e089eefea65cb3ca35a.tar.gz
seatd: Disable sign-compare warning as error on clang
Make it build with clang+musl combo (From OE-Core rev: 9c99230f3957bdbdde31a0651026199b42a0c107) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/seatd/seatd_0.9.1.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-core/seatd/seatd_0.9.1.bb b/meta/recipes-core/seatd/seatd_0.9.1.bb
index 8ee43a3dc8..87e1c3b67d 100644
--- a/meta/recipes-core/seatd/seatd_0.9.1.bb
+++ b/meta/recipes-core/seatd/seatd_0.9.1.bb
@@ -15,6 +15,14 @@ inherit meson pkgconfig systemd update-rc.d useradd
15 15
16# https://www.openwall.com/lists/musl/2020/01/20/3 16# https://www.openwall.com/lists/musl/2020/01/20/3
17CFLAGS:append:libc-musl:powerpc64le = " -Wno-error=overflow" 17CFLAGS:append:libc-musl:powerpc64le = " -Wno-error=overflow"
18#../git/common/connection.c:154:55: error: comparison of integers of different signs: 'unsigned long' and 'long' [-Werror,-Wsign-compare]
19# 154 | for (cmsg = CMSG_FIRSTHDR(msg); cmsg != NULL; cmsg = CMSG_NXTHDR(msg, cmsg)) {
20# | ^~~~~~~~~~~~~~~~~~~~~~
21#/mnt/b/yoe/master/sources/poky/build/tmp/work/riscv64-poky-linux-musl/seatd/0.9.1/recipe-sysroot/usr/include/sys/socket.h:358:44: note: expanded from macro 'CMSG_NXTHDR'
22# 358 | __CMSG_LEN(cmsg) + sizeof(struct cmsghdr) >= __MHDR_END(mhdr) - (unsigned char *)(cmsg) \
23# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24#1 error generated.
25CFLAGS:append:libc-musl:toolchain-clang = " -Wno-error=sign-compare"
18 26
19PACKAGECONFIG ?= " \ 27PACKAGECONFIG ?= " \
20 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ 28 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \