9 Star 6 Fork 10

src-openEuler/dde-api

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0002-Remove-all-symbol-table-and-relocation-information-f.patch 773 Bytes
一键复制 编辑 原始数据 按行查看 历史
Venland 提交于 2023-07-31 11:14 . upgrade to version 5.5.32
From ff28813d5ea9964cfd4efb6139e393be0362240e Mon Sep 17 00:00:00 2001
From: leeffo <liweiganga@uniontech.com>
Date: Mon, 31 Jul 2023 11:45:32 +0800
Subject: [PATCH] Remove all symbol table and relocation information from the
executable
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 1b2c4b7..57b2146 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ GOSITE_DIR = ${PREFIX}/share/gocode
libdir = /lib
SYSTEMD_LIB_DIR = ${libdir}
SYSTEMD_SERVICE_DIR = ${SYSTEMD_LIB_DIR}/systemd/system/
-GOBUILD = env GOPATH="${CURDIR}/${GOBUILD_DIR}:${GOPATH}" go build
+GOBUILD = env GOPATH="${CURDIR}/${GOBUILD_DIR}:${GOPATH}" go build -ldflags "-s" -buildmode=pie
export GO111MODULE=off
LIBRARIES = \
--
2.20.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/dde-api.git
git@gitee.com:src-openeuler/dde-api.git
src-openeuler
dde-api
dde-api
master

搜索帮助