代码拉取完成,页面将自动刷新
From 655bcc55ae2045b1a457f7b654569361ea32bfc2 Mon Sep 17 00:00:00 2001
From: luofeng14 <luofeng13@huawei.com>
Date: Tue, 12 Sep 2023 02:05:34 +0000
Subject: [PATCH] suport clang build
Signed-off-by: luofeng14 <luofeng13@huawei.com>
---
src/lstack/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lstack/Makefile b/src/lstack/Makefile
index 8f684ba..30965f8 100644
--- a/src/lstack/Makefile
+++ b/src/lstack/Makefile
@@ -40,7 +40,7 @@ INC = -I$(LSTACK_DIR)/include \
-I$(LWIP_INCLUDE_FILE) \
-I$(DPDK_INCLUDE_FILE)
-CFLAGS = $(OPTIMIZATION) -fno-strict-aliasing $(INC)
+CFLAGS += $(OPTIMIZATION) -fno-strict-aliasing $(INC) -Wno-error=unused-function
ifeq ($(GAZELLE_COVERAGE_ENABLE), 1)
LDFLAGS += -fprofile-arcs -ftest-coverage
--
2.27.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。