From 3033b9bdbcdb270f15373b27933d554f847e01d4 Mon Sep 17 00:00:00 2001 From: Yulong Date: Fri, 6 Jan 2023 14:31:24 +0000 Subject: [PATCH 3/3] libxdp: fix maybe-uninitialized compiler warning Signed-off-by: Yulong --- lib/common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common.mk b/lib/common.mk index 56c0406..f7a88a1 100644 --- a/lib/common.mk +++ b/lib/common.mk @@ -101,7 +101,7 @@ $(LIB_OBJS): %.o: %.c %.h $(LIB_H) ALL_EXEC_TARGETS=$(USER_TARGETS) $(TEST_TARGETS) $(ALL_EXEC_TARGETS): %: %.c $(OBJECT_LIBBPF) $(OBJECT_LIBXDP) $(LIBMK) $(LIB_OBJS) $(KERN_USER_H) $(EXTRA_DEPS) $(EXTRA_USER_DEPS) - $(QUIET_CC)$(CC) -Wall $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $(LIB_OBJS) \ + $(QUIET_CC)$(CC) -Wall -Wno-maybe-uninitialized $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $(LIB_OBJS) \ $< $(LDLIBS) $(XDP_OBJ): %.o: %.c $(KERN_USER_H) $(EXTRA_DEPS) $(BPF_HEADERS) $(LIBMK) -- 2.25.1