[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [UNIKRAFT/LIBPTHREAD-EMBEDDED PATCH 3/3] No warning when assigning thread starters
Suppresses a compiler warning that happens with code that assigns thread starters. Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> --- Makefile.uk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.uk b/Makefile.uk index 4ee37cd..1ab7c6a 100644 --- a/Makefile.uk +++ b/Makefile.uk @@ -63,6 +63,9 @@ LIBPTHREAD-EMBEDDED_CXXFLAGS-y += $(LIBPTHREAD-EMBEDDED_SUPPRESS_FLAGS) # OS dependencies code - Glue between Unikraft and pthread-embedded ################################################################################ LIBPTHREAD-EMBEDDED_SRCS-y += $(LIBPTHREAD-EMBEDDED_BASE)/pte_osal.c|glue +LIBPTHREAD-EMBEDDED_PTE_OSAL_GLUE_FLAGS-$(call gcc_version_ge,5,0) += -Wno-incompatible-pointer-types +LIBPTHREAD-EMBEDDED_PTE_OSAL_GLUE_FLAGS-$(call gcc_version_ge,8,0) += -Wno-cast-function-type + LIBPTHREAD-EMBEDDED_SRCS-y += $(LIBPTHREAD-EMBEDDED_BASE)/attributes.c|glue LIBPTHREAD-EMBEDDED_SRCS-y += $(LIBPTHREAD-EMBEDDED_BASE)/pthread_atfork.c|glue LIBPTHREAD-EMBEDDED_SRCS-y += $(LIBPTHREAD-EMBEDDED_BASE)/pthread_sigmask.c|glue -- 2.20.1
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |