forked from pool/binutils
Accepting request 1061532 from home:marxin:branches:devel:gcc
- Rebase binutils-2.40-branch.diff.gz as it includes fix for PR30043. - Move libgprofng-related libraries to the proper locations (packages). - Add --without=bootstrap for skipping of bootstrap (faster testing of the package). OBS-URL: https://build.opensuse.org/request/show/1061532 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=431
This commit is contained in:
parent
79d05b9598
commit
ccfe1c0155
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:c1a665aafb3325126cb862188e5463d477739cdd059aba73f3a7bedb8c22a015
|
oid sha256:27c2c2347d434e5912349e1c4c73db25c7a6ca1399036058b4ac8b20cf2cae74
|
||||||
size 554
|
size 205870
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 27 09:56:13 UTC 2023 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
- Rebase binutils-2.40-branch.diff.gz as it includes fix for PR30043.
|
||||||
|
- Move libgprofng-related libraries to the proper locations (packages).
|
||||||
|
- Add --without=bootstrap for skipping of bootstrap (faster testing
|
||||||
|
of the package).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 24 12:52:49 UTC 2023 - Richard Biener <rguenther@suse.com>
|
Tue Jan 24 12:52:49 UTC 2023 - Richard Biener <rguenther@suse.com>
|
||||||
|
|
||||||
|
@ -72,6 +72,8 @@ Release: 0
|
|||||||
%bcond_with libalternatives
|
%bcond_with libalternatives
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%bcond_without bootstrap
|
||||||
|
|
||||||
#
|
#
|
||||||
# RUN_TESTS
|
# RUN_TESTS
|
||||||
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
|
||||||
@ -100,6 +102,13 @@ Release: 0
|
|||||||
%define build_multitarget 0
|
%define build_multitarget 0
|
||||||
%endif
|
%endif
|
||||||
%define target_list aarch64 alpha armv5l armv6l armv7l armv8l avr pru epiphany hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 powerpc64le riscv64 rx s390 s390x sh4 sparc sparc64 x86_64 xtensa
|
%define target_list aarch64 alpha armv5l armv6l armv7l armv8l avr pru epiphany hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 powerpc64le riscv64 rx s390 s390x sh4 sparc sparc64 x86_64 xtensa
|
||||||
|
|
||||||
|
%if %{suse_version} <= 1500
|
||||||
|
%define build_gprofng 0
|
||||||
|
%else
|
||||||
|
%define build_gprofng 1
|
||||||
|
%endif
|
||||||
|
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
@ -362,10 +371,12 @@ cd build-dir
|
|||||||
%endif
|
%endif
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
%if %{suse_version} > 1500
|
%if %{suse_version} > 1500
|
||||||
|
%if %{with bootstrap}
|
||||||
--enable-pgo-build=lto \
|
--enable-pgo-build=lto \
|
||||||
|
%endif
|
||||||
--enable-colored-disassembly \
|
--enable-colored-disassembly \
|
||||||
%endif
|
%endif
|
||||||
%if %{suse_version} <= 1500
|
%if ! %build_gprofng
|
||||||
--disable-gprofng \
|
--disable-gprofng \
|
||||||
%endif
|
%endif
|
||||||
--enable-obsolete \
|
--enable-obsolete \
|
||||||
@ -520,6 +531,7 @@ chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
|||||||
# No shared linking outside binutils
|
# No shared linking outside binutils
|
||||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||||
|
rm -f %{buildroot}%{_libdir}/gprofng/lib*.{l,}a
|
||||||
# Remove unwanted files to shut up rpm
|
# Remove unwanted files to shut up rpm
|
||||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||||
@ -644,6 +656,9 @@ fi;
|
|||||||
%{_prefix}/%{HOST}/lib/ldscripts
|
%{_prefix}/%{HOST}/lib/ldscripts
|
||||||
%{_libdir}/ldscripts
|
%{_libdir}/ldscripts
|
||||||
%{_libdir}/libsframe.so.*
|
%{_libdir}/libsframe.so.*
|
||||||
|
%if %build_gprofng
|
||||||
|
%{_libdir}/libgprofng.so.*
|
||||||
|
%endif
|
||||||
%dir %{_libdir}/bfd-plugins
|
%dir %{_libdir}/bfd-plugins
|
||||||
%{_libdir}/bfd-plugins/libdep.so
|
%{_libdir}/bfd-plugins/libdep.so
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
@ -687,6 +702,9 @@ fi;
|
|||||||
%{_libdir}/libctf.so
|
%{_libdir}/libctf.so
|
||||||
%{_libdir}/libctf-nobfd.so
|
%{_libdir}/libctf-nobfd.so
|
||||||
%{_libdir}/libsframe.so
|
%{_libdir}/libsframe.so
|
||||||
|
%if %build_gprofng
|
||||||
|
%{_libdir}/libgprofng.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n libctf0
|
%files -n libctf0
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -702,7 +720,6 @@ fi;
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_libdir}/gprofng/
|
%dir %{_libdir}/gprofng/
|
||||||
%{_libdir}/gprofng/lib*.so
|
%{_libdir}/gprofng/lib*.so
|
||||||
%{_libdir}/gprofng/lib*.so.*
|
|
||||||
%{_distconfdir}/gprofng.rc
|
%{_distconfdir}/gprofng.rc
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user