[c9s] Re enable debuginfo in toolchain binaries
Instead of omitting debuginfo, waive the rpminspect result. Later we will strip the debuginfo into a separate package. Resolves: RHEL-101454
This commit is contained in:
parent
2dcff1324c
commit
b76929283d
@ -102,7 +102,7 @@
|
|||||||
|
|
||||||
Name: golang
|
Name: golang
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: The Go Programming Language
|
Summary: The Go Programming Language
|
||||||
# source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
|
# source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
|
||||||
License: BSD and Public Domain
|
License: BSD and Public Domain
|
||||||
@ -342,7 +342,7 @@ export CC_FOR_TARGET="gcc"
|
|||||||
export GOOS=linux
|
export GOOS=linux
|
||||||
export GOARCH=%{gohostarch}
|
export GOARCH=%{gohostarch}
|
||||||
|
|
||||||
DEFAULT_GO_LD_FLAGS="-s -w"
|
DEFAULT_GO_LD_FLAGS=""
|
||||||
%if !%{external_linker}
|
%if !%{external_linker}
|
||||||
export GO_LDFLAGS="-linkmode internal $DEFAULT_GO_LD_FLAGS"
|
export GO_LDFLAGS="-linkmode internal $DEFAULT_GO_LD_FLAGS"
|
||||||
%else
|
%else
|
||||||
@ -585,6 +585,10 @@ cd ..
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 21 2025 David Benoit <dbenoit@redhat.com> - 1.24.4-3
|
||||||
|
- Re-enable debguginfo and waive rpminspect result
|
||||||
|
- Resolves: RHEL-101454
|
||||||
|
|
||||||
* Thu Jun 26 2025 Alejandro Sáez <asm@redhat.com> - 1.24.4-2
|
* Thu Jun 26 2025 Alejandro Sáez <asm@redhat.com> - 1.24.4-2
|
||||||
- Add LD_FLAGS for stripping binaries
|
- Add LD_FLAGS for stripping binaries
|
||||||
- Resolves: RHEL-93238
|
- Resolves: RHEL-93238
|
||||||
|
@ -20,6 +20,7 @@ debuginfo:
|
|||||||
- /usr/lib/golang/pkg/tool/linux_*/objdump
|
- /usr/lib/golang/pkg/tool/linux_*/objdump
|
||||||
- /usr/lib/golang/pkg/tool/linux_*/pack
|
- /usr/lib/golang/pkg/tool/linux_*/pack
|
||||||
- /usr/lib/golang/pkg/tool/linux_*/pprof
|
- /usr/lib/golang/pkg/tool/linux_*/pprof
|
||||||
|
- /usr/lib/golang/pkg/tool/linux_*/preprofile
|
||||||
- /usr/lib/golang/pkg/tool/linux_*/test2json
|
- /usr/lib/golang/pkg/tool/linux_*/test2json
|
||||||
- /usr/lib/golang/pkg/tool/linux_*/trace
|
- /usr/lib/golang/pkg/tool/linux_*/trace
|
||||||
- /usr/lib/golang/pkg/tool/linux_*/vet
|
- /usr/lib/golang/pkg/tool/linux_*/vet
|
||||||
|
Loading…
Reference in New Issue
Block a user