1 Star 0 Fork 17

chenhao/crash-trace-command

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0005-support-clang-build.patch 779 Bytes
一键复制 编辑 原始数据 按行查看 历史
luofeng14 提交于 2024-03-26 22:33 +08:00 . support clang build
From 09f108146862b09a08ff5fc56f983c1f76cea684 Mon Sep 17 00:00:00 2001
From: luofeng <luofeng13@huawei.com>
Date: Tue, 26 Mar 2024 22:05:39 +0800
Subject: [PATCH] support clang build
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 0d35d4f..1829c0d 100755
--- a/Makefile
+++ b/Makefile
@@ -36,4 +36,4 @@ INCDIR=/usr/include/crash
all: trace.so
trace.so: $(INCDIR)/defs.h trace.c
- gcc $(RPM_OPT_FLAGS) -Wall -I$(INCDIR) -nostartfiles -shared -rdynamic -Wl,-soname,trace.so -o trace.so trace.c -fPIC -D$(TARGET) $(TARGET_CFLAGS)
+ $(CC) $(RPM_OPT_FLAGS) -Wall -I$(INCDIR) -nostartfiles -shared -rdynamic -Wl,-soname,trace.so -o trace.so trace.c -fPIC -D$(TARGET) $(TARGET_CFLAGS)
--
2.19.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chenhchenh/crash-trace-command.git
git@gitee.com:chenhchenh/crash-trace-command.git
chenhchenh
crash-trace-command
crash-trace-command
master

搜索帮助