1 Star 0 Fork 8

Ren Zhijie/fence-virt

forked from src-openEuler/fence-virt 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
bz1624110-2-fence_virt-fix-coredump.patch 649 Bytes
一键复制 编辑 原始数据 按行查看 历史
jiangxinyu 提交于 2020-11-17 16:13 . add ExclusiveArch: aarch64 to SPEC
diff -uNr a/client/Makefile.in b/client/Makefile.in
--- a/client/Makefile.in 2019-04-10 11:06:55.428378274 +0200
+++ b/client/Makefile.in 2019-04-10 13:02:54.734002880 +0200
@@ -40,16 +40,7 @@
ln -snf $^ $@
fence_virt: ${fence_virt_SOURCES:.c=.o}
- $(CC) $(CFLAGS) -o $@ $^ -shared $(LIBS) -L../common -lfence_virt
-
-mcast.o: mcast.c
- $(CC) $(CFLAGS) -fPIC -c -o $@ $^ $(INCLUDES)
-
-options.o: options.c
- $(CC) $(CFLAGS) -fPIC -c -o $@ $^ $(INCLUDES)
-
-serial.o: serial.c
- $(CC) $(CFLAGS) -fPIC -c -o $@ $^ $(INCLUDES)
+ $(CC) $(CFLAGS) -pie -o $@ $^ $(LIBS) -L../common -lfence_virt
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $^ $(INCLUDES)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/byterzj/fence-virt.git
git@gitee.com:byterzj/fence-virt.git
byterzj
fence-virt
fence-virt
master

搜索帮助