2 Star 0 Fork 32

我们17走/gazelle

forked from src-openEuler/gazelle 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0010-suport-clang-build.patch 801 Bytes
一键复制 编辑 原始数据 按行查看 历史
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/together17/gazelle.git
git@gitee.com:together17/gazelle.git
together17
gazelle
gazelle
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385