The musl libc provides its own wrappers around syscalls, which we prefer
to the shim-layer-generated ones as they often do additional
bookkeeping. And we can't have both as it would lead to conflicts.
Signed-off-by: Cyril Soldani <cyril.soldani@uliege.be>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Pull-Request: #3
LIBMUSL_CFLAGS-y += -Wno-cast-function-type
LIBMUSL_CFLAGS-y += -Wno-format-contains-nul
LIBMUSL_CFLAGS-y += -Wno-type-limits
+LIBMUSL_CFLAGS-y += -DUK_LIBC_SYSCALL=0
LIBMUSL_CFLAGS-y += $(LIBMUSL_HDRS_FLAGS-y)
# We globally switch off warnings that are caused by musl's public headers