From ac23033f060748c567c0b9f61b8477720492d924 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Sat, 1 Aug 2020 18:46:05 +0000 Subject: [PATCH] import compat-sap-c++-10-10.2.1-1.el8 --- .compat-sap-c++-10.metadata | 2 +- .gitignore | 2 +- SPECS/compat-sap-c++-10.spec | 15 +++++++++++---- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.compat-sap-c++-10.metadata b/.compat-sap-c++-10.metadata index 020df48..66c7081 100644 --- a/.compat-sap-c++-10.metadata +++ b/.compat-sap-c++-10.metadata @@ -1 +1 @@ -c2c3a9b0ec1bbf57be1f75bcf01e1e188c8dc225 SOURCES/gcc-10.1.1-20200507.tar.xz +1963e0a56723ae67e0891e3a816e7a26fc13802f SOURCES/gcc-10.2.1-20200723.tar.xz diff --git a/.gitignore b/.gitignore index a264fb8..3f81a87 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/gcc-10.1.1-20200507.tar.xz +SOURCES/gcc-10.2.1-20200723.tar.xz diff --git a/SPECS/compat-sap-c++-10.spec b/SPECS/compat-sap-c++-10.spec index c5406b0..a19d22a 100644 --- a/SPECS/compat-sap-c++-10.spec +++ b/SPECS/compat-sap-c++-10.spec @@ -6,9 +6,9 @@ %global _root_mandir %{_root_prefix}/%{_mandir} %{?scl:%global __strip strip} %{?scl:%global __objdump objdump} -%global DATE 20200507 -%global gitrev 563509ad4338c7193d06f4008e9df657990628a5 -%global gcc_version 10.1.1 +%global DATE 20200723 +%global gitrev 3fc88aa16f1bf661db4518d6d62869f081981981 +%global gcc_version 10.2.1 %global gcc_major 10 # Note, gcc_release must be integer, if you want to add suffixes to # %%{release}, append them after %%{gcc_release} on Release: line. @@ -112,7 +112,7 @@ Requires: libgcc >= 4.1.2-43 # Keep this for now. Requires: libgomp >= 4.4.4-13 BuildRequires: gmp-devel >= 4.1.2-8 -BuildRequires: mpfr-devel >= 2.2.1 +BuildRequires: mpfr-devel >= 3.1.0 %if 0%{?rhel} >= 7 BuildRequires: libmpc-devel >= 0.8.1 %endif @@ -256,6 +256,7 @@ cd obj-%{gcc_target_platform} CC=gcc CXX=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/-mfpmath=sse/-mfpmath=sse -msse2/g'` OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/ -pipe / /g'` @@ -402,5 +403,11 @@ rm -rf %{buildroot} %{_root_prefix}/%{_lib}/README%{gcc_major} %changelog +* Wed Jul 29 2020 Marek Polacek 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 10.1.1-1 - new package