import compat-sap-c++-10-10.2.1-1.el8

This commit is contained in:
CentOS Sources 2020-08-01 18:46:05 +00:00 committed by Stepan Oksanichenko
parent ff58f4d01b
commit ac23033f06
3 changed files with 13 additions and 6 deletions

View File

@ -1 +1 @@
c2c3a9b0ec1bbf57be1f75bcf01e1e188c8dc225 SOURCES/gcc-10.1.1-20200507.tar.xz 1963e0a56723ae67e0891e3a816e7a26fc13802f SOURCES/gcc-10.2.1-20200723.tar.xz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/gcc-10.1.1-20200507.tar.xz SOURCES/gcc-10.2.1-20200723.tar.xz

View File

@ -6,9 +6,9 @@
%global _root_mandir %{_root_prefix}/%{_mandir} %global _root_mandir %{_root_prefix}/%{_mandir}
%{?scl:%global __strip strip} %{?scl:%global __strip strip}
%{?scl:%global __objdump objdump} %{?scl:%global __objdump objdump}
%global DATE 20200507 %global DATE 20200723
%global gitrev 563509ad4338c7193d06f4008e9df657990628a5 %global gitrev 3fc88aa16f1bf661db4518d6d62869f081981981
%global gcc_version 10.1.1 %global gcc_version 10.2.1
%global gcc_major 10 %global gcc_major 10
# Note, gcc_release must be integer, if you want to add suffixes to # Note, gcc_release must be integer, if you want to add suffixes to
# %%{release}, append them after %%{gcc_release} on Release: line. # %%{release}, append them after %%{gcc_release} on Release: line.
@ -112,7 +112,7 @@ Requires: libgcc >= 4.1.2-43
# Keep this for now. # Keep this for now.
Requires: libgomp >= 4.4.4-13 Requires: libgomp >= 4.4.4-13
BuildRequires: gmp-devel >= 4.1.2-8 BuildRequires: gmp-devel >= 4.1.2-8
BuildRequires: mpfr-devel >= 2.2.1 BuildRequires: mpfr-devel >= 3.1.0
%if 0%{?rhel} >= 7 %if 0%{?rhel} >= 7
BuildRequires: libmpc-devel >= 0.8.1 BuildRequires: libmpc-devel >= 0.8.1
%endif %endif
@ -256,6 +256,7 @@ cd obj-%{gcc_target_platform}
CC=gcc CC=gcc
CXX=g++ CXX=g++
OPT_FLAGS=`echo %{optflags}|sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g'` OPT_FLAGS=`echo %{optflags}|sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-flto//g;s/-ffat-lto-objects//g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-m64//g;s/-m32//g;s/-m31//g'` OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-m64//g;s/-m32//g;s/-m31//g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mfpmath=sse/-mfpmath=sse -msse2/g'` OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mfpmath=sse/-mfpmath=sse -msse2/g'`
OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/ -pipe / /g'` OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/ -pipe / /g'`
@ -402,5 +403,11 @@ rm -rf %{buildroot}
%{_root_prefix}/%{_lib}/README%{gcc_major} %{_root_prefix}/%{_lib}/README%{gcc_major}
%changelog %changelog
* Wed Jul 29 2020 Marek Polacek <polacek@redhat.com> 10.2.1-1
- GCC 10.2 release
- disable -flto in %%{optflags}, lto bootstrap will be enabled the GCC way
later
- require MPFR Library version 3.1.0 (or later)
* Thu Jun 4 2020 Marek Polacek <polacek@redhat.com> 10.1.1-1 * Thu Jun 4 2020 Marek Polacek <polacek@redhat.com> 10.1.1-1
- new package - new package