!9 [sync] PR-8: 增加 PIE,BIND_NOW,RELRO,STRIP安全编译选项
From: @openeuler-sync-bot Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
e7815d3d6a
@ -1,10 +1,10 @@
|
|||||||
%global goipath github.com/go-delve/delve
|
%global goipath github.com/go-delve/delve
|
||||||
%global gobuild go build -mod=vendor
|
%global gobuild go build -mod=vendor -buildmode=pie -ldflags "-s -w -linkmode=external -extldflags '-Wl,-z,relro -Wl,-z,now'"
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Name: delve
|
Name: delve
|
||||||
Version: 1.6.0
|
Version: 1.6.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A debugger for the Go programming language
|
Summary: A debugger for the Go programming language
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/go-delve/delve
|
URL: https://github.com/go-delve/delve
|
||||||
@ -44,6 +44,9 @@ rm -rf %{buildroot}
|
|||||||
%doc Documentation/*
|
%doc Documentation/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 09 2023 wangkai <wangkai385@h-partners.com> - 1.6.0-2
|
||||||
|
- Add PIE,BIND_NOW,RELRO,STRIP secure compilation options
|
||||||
|
|
||||||
* Fri Jan 29 2021 fcwicky <307610302@qq.com> - 1.6.0-1
|
* Fri Jan 29 2021 fcwicky <307610302@qq.com> - 1.6.0-1
|
||||||
- update package to v1.6.0
|
- update package to v1.6.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user