Accepting request 978250 from home:marxin:branches:devel:gcc

- Add lto-dump binary and link it similarly to e.g. gcov-dump.

OBS-URL: https://build.opensuse.org/request/show/978250
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc?expand=0&rev=118
This commit is contained in:
Richard Biener 2022-05-20 10:02:43 +00:00 committed by Git OBS Bridge
parent 205660e76d
commit 8e26a0daad
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 20 09:41:16 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add lto-dump binary and link it similarly to e.g. gcov-dump.
-------------------------------------------------------------------
Wed Apr 6 07:37:13 UTC 2022 - Martin Liška <mliska@suse.cz>

View File

@ -134,6 +134,7 @@ The system GNU Compiler documentation.
# install / update the entries
%post -n gcc-info
%install_info --info-dir=%{_infodir} --name=cpp --description='The GNU C preprocessor.' %{_infodir}/cpp.info.gz
@ -411,7 +412,7 @@ mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/doc/packages/gcc-objc/
mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/doc/packages/gcc-obj-c++/
# Link all the binaries
for program in \
gcc gcov gcov-dump gcov-tool \
gcc gcov gcov-dump gcov-tool lto-dump \
g++ \
cpp \
gfortran \
@ -433,7 +434,7 @@ ln -sf %{_sysconfdir}/alternatives/go %{buildroot}%{_bindir}/go
ln -sf %{_sysconfdir}/alternatives/gofmt %{buildroot}%{_bindir}/gofmt
# Link section 1 manpages
for man1 in \
gcc gcov gcov-dump gcov-tool \
gcc gcov gcov-dump gcov-tool lto-dump \
g++ \
cpp \
gfortran \
@ -488,6 +489,7 @@ fi
%{_prefix}/bin/gcov
%{_prefix}/bin/gcov-dump
%{_prefix}/bin/gcov-tool
%{_prefix}/bin/lto-dump
%{_prefix}/bin/gcc-ar
%{_prefix}/bin/gcc-nm
%{_prefix}/bin/gcc-ranlib
@ -498,6 +500,7 @@ fi
%doc %{_mandir}/man1/gcov.1.gz
%doc %{_mandir}/man1/gcov-dump.1.gz
%doc %{_mandir}/man1/gcov-tool.1.gz
%doc %{_mandir}/man1/lto-dump.1.gz
%files -n cpp
%defattr(-,root,root)