- Adjust liblto_plugin.so naming for GCC 11.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc?expand=0&rev=104
This commit is contained in:
parent
0f5852bcd9
commit
13b1985356
@ -2,6 +2,7 @@
|
|||||||
Thu Apr 29 08:45:13 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Thu Apr 29 08:45:13 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
|
||||||
- Switch gcc to default 11.
|
- Switch gcc to default 11.
|
||||||
|
- Adjust liblto_plugin.so naming for GCC 11.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 29 08:36:04 UTC 2021 - Richard Biener <rguenther@suse.com>
|
Thu Apr 29 08:36:04 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
2
gcc.spec
2
gcc.spec
@ -479,7 +479,7 @@ 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
|
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
|
# Install the LTO linker plugin so it is auto-loaded by BFD
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/bfd-plugins
|
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
|
ln -s `gcc-%{gcc_suffix} -print-file-name=liblto_plugin.so` $RPM_BUILD_ROOT%{_prefix}/lib/bfd-plugins/liblto_plugin.so
|
||||||
|
|
||||||
dir=`gcc-%{gcc_suffix} -print-prog-name=cc1`
|
dir=`gcc-%{gcc_suffix} -print-prog-name=cc1`
|
||||||
dir=${dir%/cc1}
|
dir=${dir%/cc1}
|
||||||
|
Loading…
Reference in New Issue
Block a user