remove linkmode external
(cherry picked from commit 1c1c86026d86b106c09d02f4944d096611112b9b)
This commit is contained in:
parent
6eeb58b682
commit
4248027edb
@ -10,11 +10,11 @@
|
|||||||
- -X github.com/prometheus/common/version.Branch={{.Branch}}
|
- -X github.com/prometheus/common/version.Branch={{.Branch}}
|
||||||
- -X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
|
- -X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
|
||||||
- -X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
|
- -X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
|
||||||
+ -w -s -linkmode=external -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.Version={{.Version}}
|
+ -w -s -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.Version={{.Version}}
|
||||||
+ -w -s -linkmode=external -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.Revision={{.Revision}}
|
+ -w -s -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.Revision={{.Revision}}
|
||||||
+ -w -s -linkmode=external -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.Branch={{.Branch}}
|
+ -w -s -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.Branch={{.Branch}}
|
||||||
+ -w -s -linkmode=external -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
|
+ -w -s -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
|
||||||
+ -w -s -linkmode=external -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
|
+ -w -s -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
|
||||||
tarball:
|
tarball:
|
||||||
files:
|
files:
|
||||||
- LICENSE
|
- LICENSE
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: promu
|
Name: promu
|
||||||
Version: 0.7.0
|
Version: 0.7.0
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Prometheus Utility Tool
|
Summary: Prometheus Utility Tool
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://github.com/prometheus/promu
|
URL: https://github.com/prometheus/promu
|
||||||
@ -36,6 +36,9 @@ install -D -m 755 %{name}-%{version} %{buildroot}%{_bindir}/promu
|
|||||||
%{_bindir}/promu
|
%{_bindir}/promu
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 10 2023 caodongxia <caodongxia@h-partners.com> - 0.7.0-3
|
||||||
|
- remove linkmode external
|
||||||
|
|
||||||
* Fri Mar 03 2023 wangjunqi <wangjunqi@kylinos.cn> - 0.7.0-2
|
* Fri Mar 03 2023 wangjunqi <wangjunqi@kylinos.cn> - 0.7.0-2
|
||||||
- add strip and pie
|
- add strip and pie
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user