Accepting request 228989 from devel:gcc
- Link to the system compiler LTO plugin from /usr/lib/bfd-plugins. OBS-URL: https://build.opensuse.org/request/show/228989 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gcc?expand=0&rev=49
This commit is contained in:
commit
519728c6f4
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 21 12:29:29 UTC 2014 - rguenther@suse.com
|
||||
|
||||
- Link to the system compiler LTO plugin from /usr/lib/bfd-plugins.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 4 10:08:54 UTC 2014 - rguenther@suse.com
|
||||
|
||||
|
5
gcc.spec
5
gcc.spec
@ -399,6 +399,9 @@ ln -sf g++-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/c++
|
||||
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.0.0.0` $RPM_BUILD_ROOT%{_prefix}/lib/bfd-plugins/liblto_plugin.so.0.0.0
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
@ -408,6 +411,8 @@ ln -sf gcc-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/cc.1.gz
|
||||
%{_prefix}/bin/gcc-ar
|
||||
%{_prefix}/bin/gcc-nm
|
||||
%{_prefix}/bin/gcc-ranlib
|
||||
%dir %{_prefix}/lib/bfd-plugins
|
||||
%{_prefix}/lib/bfd-plugins/liblto_plugin.so.0.0.0
|
||||
%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