!10 Add PIE,BIND_NOW,RELRO,STRIP secure compilation options
From: @wk333 Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
a53a391283
5
delve.spec
Executable file → Normal file
5
delve.spec
Executable file → Normal file
@ -1,5 +1,5 @@
|
||||
%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}
|
||||
|
||||
Name: delve
|
||||
@ -44,6 +44,9 @@ rm -rf %{buildroot}
|
||||
%doc Documentation/*
|
||||
|
||||
%changelog
|
||||
* Thu Feb 09 2023 wangkai <wangkai385@h-partners.com> - 1.9.1-2
|
||||
- Add PIE,BIND_NOW,RELRO,STRIP secure compilation options
|
||||
|
||||
* Mon Aug 29 2022 jinzhiguang <jinzhiguang@kylinos.cn> - 1.9.1-1
|
||||
- update to v1.9.1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user