mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +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:
parent
6718a9cc2d
commit
7b6c088b87
|
|
@ -24,3 +24,5 @@ do_install_append() {
|
|||
# when no binaries are installed (empty bin_PROGRAMS in Makefile.am),
|
||||
rmdir --ignore-fail-on-non-empty ${D}${bindir}
|
||||
}
|
||||
|
||||
CPPFLAGS_append_libc-musl_toolchain-clang = " -Wno-error=sign-compare"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user