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:
Khem Raj 2018-09-09 12:08:46 -07:00
parent 6718a9cc2d
commit 7b6c088b87

View File

@ -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"