Accepting request 890709 from home:gmbr3:Active
- Change bfd-plugins to be installed in %_libdir OBS-URL: https://build.opensuse.org/request/show/890709 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc?expand=0&rev=107
This commit is contained in:
parent
e8b3801d3d
commit
18b4328a87
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 5 12:48:07 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
- Change bfd-plugins to be installed in %_libdir
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 29 08:45:13 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
|
8
gcc.spec
8
gcc.spec
@ -478,8 +478,8 @@ ln -sf gcc-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/cc
|
||||
ln -sf g++-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/c++.1.gz
|
||||
ln -sf gcc-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/cc.1.gz
|
||||
# Install the LTO linker plugin so it is auto-loaded by BFD
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/bfd-plugins
|
||||
ln -s `gcc-%{gcc_suffix} -print-file-name=liblto_plugin.so` $RPM_BUILD_ROOT%{_prefix}/lib/bfd-plugins/liblto_plugin.so
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/bfd-plugins
|
||||
ln -s `gcc-%{gcc_suffix} -print-file-name=liblto_plugin.so` $RPM_BUILD_ROOT%{_libdir}/bfd-plugins/liblto_plugin.so
|
||||
|
||||
dir=`gcc-%{gcc_suffix} -print-prog-name=cc1`
|
||||
dir=${dir%/cc1}
|
||||
@ -513,8 +513,8 @@ fi
|
||||
%{_prefix}/bin/gcc-ar
|
||||
%{_prefix}/bin/gcc-nm
|
||||
%{_prefix}/bin/gcc-ranlib
|
||||
%dir %{_prefix}/lib/bfd-plugins
|
||||
%{_prefix}/lib/bfd-plugins/liblto_plugin.so
|
||||
%dir %{_libdir}/bfd-plugins
|
||||
%{_libdir}/bfd-plugins/liblto_plugin.so
|
||||
%doc %{_mandir}/man1/gcc.1.gz
|
||||
%doc %{_mandir}/man1/cc.1.gz
|
||||
%doc %{_mandir}/man1/gcov.1.gz
|
||||
|
Loading…
Reference in New Issue
Block a user