1 Star 0 Fork 44

chendexi/protobuf

forked from src-openEuler/protobuf 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-add-secure-compile-option-in-Makefile.patch 590 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhongtao 提交于 2023-07-21 17:34 +08:00 . update to v3.19.6
From 03ce780382f83b0921a55f9e06bb59c6ce7b03f1 Mon Sep 17 00:00:00 2001
From: zhongtao <zhongtao17@huawei.com>
Date: Fri, 21 Jul 2023 17:30:51 +0800
Subject: [PATCH] add secure compile option in Makefile
---
src/Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Makefile.am b/src/Makefile.am
index 1d9cd6fb4..cd9f7cff5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -19,6 +19,7 @@ PTHREAD_DEF =
endif
PROTOBUF_VERSION = 30:6:0
+PROTOBUF_OPT_FLAG += -Wl,-z,now
if GCC
# Turn on all warnings except for sign comparison (we ignore sign comparison
--
2.25.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ccdxx/protobuf.git
git@gitee.com:ccdxx/protobuf.git
ccdxx
protobuf
protobuf
master

搜索帮助