Accepting request 889462 from devel:gcc
It was a bad idea to try to fix bsc#1185348 together with the switch --- - Switch gcc to default 11. - Adjust liblto_plugin.so naming for GCC 11. OBS-URL: https://build.opensuse.org/request/show/889462 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gcc?expand=0&rev=67
This commit is contained in:
commit
199e9c3ebb
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 29 08:45:13 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||||
|
|
||||||
|
- Switch gcc to default 11.
|
||||||
|
- Adjust liblto_plugin.so naming for GCC 11.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 12 11:42:44 UTC 2020 - Richard Biener <rguenther@suse.com>
|
Thu Nov 12 11:42:44 UTC 2020 - Richard Biener <rguenther@suse.com>
|
||||||
|
|
||||||
|
12
gcc.spec
12
gcc.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gcc
|
# spec file for package gcc
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -42,9 +42,9 @@ Name: gcc
|
|||||||
%define build_d 0
|
%define build_d 0
|
||||||
%endif
|
%endif
|
||||||
URL: http://gcc.gnu.org/
|
URL: http://gcc.gnu.org/
|
||||||
%define gcc_version 10
|
%define gcc_version 11
|
||||||
%define gcc_suffix 10
|
%define gcc_suffix 11
|
||||||
Version: 10
|
Version: 11
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The system GNU C Compiler
|
Summary: The system GNU C Compiler
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
@ -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}
|
||||||
@ -514,7 +514,7 @@ fi
|
|||||||
%{_prefix}/bin/gcc-nm
|
%{_prefix}/bin/gcc-nm
|
||||||
%{_prefix}/bin/gcc-ranlib
|
%{_prefix}/bin/gcc-ranlib
|
||||||
%dir %{_prefix}/lib/bfd-plugins
|
%dir %{_prefix}/lib/bfd-plugins
|
||||||
%{_prefix}/lib/bfd-plugins/liblto_plugin.so.0.0.0
|
%{_prefix}/lib/bfd-plugins/liblto_plugin.so
|
||||||
%doc %{_mandir}/man1/gcc.1.gz
|
%doc %{_mandir}/man1/gcc.1.gz
|
||||||
%doc %{_mandir}/man1/cc.1.gz
|
%doc %{_mandir}/man1/cc.1.gz
|
||||||
%doc %{_mandir}/man1/gcov.1.gz
|
%doc %{_mandir}/man1/gcov.1.gz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user