aboutsummaryrefslogtreecommitdiffstats
path: root/build/external/patches/xdp-tools_1.2.9/0003-lib-define.mk-add-flags-for-compiler.patch
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2025-01-17 18:30:01 +0100
committerDave Wallace <dwallacelf@gmail.com>2025-01-17 18:57:34 +0000
commitd9f3fbefcf5135da12e1a6f1bb164405770f4faf (patch)
tree2d6704348ce5e3c0d815445714c7ea4a2b126d43 /build/external/patches/xdp-tools_1.2.9/0003-lib-define.mk-add-flags-for-compiler.patch
parent102575492c9199259aa5e468f21b46936d7a1ac4 (diff)
af_xdp: revert "af_xdp: fix af_xdp compile waring for clang compiler"
This reverts commit 38097970c038de6c3c67cb8e1c7209f1df1f24d0. Type: fix Change-Id: I2401eff6d1558f0f95b8b0c88b6b5d174acbb0ef Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'build/external/patches/xdp-tools_1.2.9/0003-lib-define.mk-add-flags-for-compiler.patch')
-rw-r--r--build/external/patches/xdp-tools_1.2.9/0003-lib-define.mk-add-flags-for-compiler.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/build/external/patches/xdp-tools_1.2.9/0003-lib-define.mk-add-flags-for-compiler.patch b/build/external/patches/xdp-tools_1.2.9/0003-lib-define.mk-add-flags-for-compiler.patch
deleted file mode 100644
index 4a3fe14364e..00000000000
--- a/build/external/patches/xdp-tools_1.2.9/0003-lib-define.mk-add-flags-for-compiler.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 6b0770e70df3ab02ad2a62f6426668746d4432ba Mon Sep 17 00:00:00 2001
-From: fenglei <1579628578@qq.com>
-Date: Wed, 15 Jan 2025 09:47:36 +0800
-Subject: [PATCH 5/5] lib/define.mk: add flags for compiler
-
-Signed-off-by: fenglei <1579628578@qq.com>
----
- lib/defines.mk | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/lib/defines.mk b/lib/defines.mk
-index f3ff3d3..781d5f2 100644
---- a/lib/defines.mk
-+++ b/lib/defines.mk
-@@ -41,6 +41,11 @@ endif
- DEFINES += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-
- CFLAGS += -std=gnu11 -Wextra -Werror $(DEFINES) $(ARCH_INCLUDES)
-+ifeq ($(CC), clang)
-+ CFLAGS += -Wno-uninitialized
-+else
-+ CFLAGS += -Wno-maybe-uninitialized
-+endif
- BPF_CFLAGS += $(DEFINES) $(filter -ffile-prefix-map=%,$(CFLAGS)) $(ARCH_INCLUDES)
-
- CONFIGMK := $(LIB_DIR)/../config.mk
---
-2.43.0
-