mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 07:37:14 +00:00
libkcapi: Disable Wsign-compare warning with clang/musl
clang 7.0 is grumpy and complains about cmsg structures and macros from sys/socket.h kcapi-kernel-if.c:25:11: error: comparison of integers of different signs: 'unsigned long' and 'long' [-Werror,-Wsign-compare] header = CMSG_NXTHDR(&msg, header); Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -24,3 +24,5 @@ do_install_append() {
|
|||||||
# when no binaries are installed (empty bin_PROGRAMS in Makefile.am),
|
# when no binaries are installed (empty bin_PROGRAMS in Makefile.am),
|
||||||
rmdir --ignore-fail-on-non-empty ${D}${bindir}
|
rmdir --ignore-fail-on-non-empty ${D}${bindir}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CPPFLAGS_append_libc-musl_toolchain-clang = " -Wno-error=sign-compare"
|
||||||
|
|||||||
Reference in New Issue
Block a user