1 Star 0 Fork 41

xiaochaowang/protobuf

forked from src-openEuler/protobuf 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0002-add-secure-compile-fs-check-in-Makefile.patch 695 Bytes
一键复制 编辑 原始数据 按行查看 历史
lyn 提交于 2021-07-30 10:15 . update to 3.14.0
From dddceb14106499f9fca17e75cdce458a205b102c Mon Sep 17 00:00:00 2001
From: haozi007 <[email protected]>
Date: Sat, 20 Feb 2021 16:52:15 +0800
Subject: [PATCH] add secure compile fs check in Makefile
Signed-off-by: haozi007 <[email protected]>
---
src/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 9b7053b..e447b05 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -19,7 +19,7 @@ PTHREAD_DEF =
endif
PROTOBUF_VERSION = 25:0:0
-PROTOBUF_OPT_FLAG += -Wl,-z,now
+PROTOBUF_OPT_FLAG += -Wl,-z,now -fstack-check
if GCC
# Turn on all warnings except for sign comparison (we ignore sign comparison
--
2.25.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xiaochaowang/protobuf.git
[email protected]:xiaochaowang/protobuf.git
xiaochaowang
protobuf
protobuf
master

搜索帮助