[rtems-crossrpms commit] Preps for Fedora 21.

Ralf Corsepius ralf at rtems.org
Sun Dec 8 18:18:00 UTC 2013


Module:    rtems-crossrpms
Branch:    master
Commit:    e2780a642e783691e0a66464034514bcfd48ec1d
Changeset: http://git.rtems.org/rtems-crossrpms/commit/?id=e2780a642e783691e0a66464034514bcfd48ec1d

Author:    Ralf Corsépius <ralf.corsepius at rtems.org>
Date:      Mon Nov  4 11:36:48 2013 +0100

Preps for Fedora 21.
Reflect gcc-4.8.0's requirements on mpfr.

---

 gcc/gccnewlib.add |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/gcc/gccnewlib.add b/gcc/gccnewlib.add
index 2972223..47e9db3 100644
--- a/gcc/gccnewlib.add
+++ b/gcc/gccnewlib.add
@@ -54,6 +54,12 @@ BuildRequires:  %{_host_rpmprefix}gcc-c++
 %global libelf_version  0.8.13
 
 # versions of libraries these distros are known to ship
+%if 0%{?fc21}
+%global mpc_provided 1.0.1
+%global mpfr_provided 3.1.2
+%global gmp_provided 5.1.2
+%endif
+
 %if 0%{?fc20}
 %global mpc_provided 1.0.1
 %global mpfr_provided 3.1.2
@@ -128,6 +134,10 @@ BuildRequires:  %{_host_rpmprefix}gcc-c++
 %define mpfr_required		2.3.2
 %endif
 
+%if "%{gcc_version}" >= "4.8.0"
+%define mpfr_required		2.4.0
+%endif
+
 %if "%{gcc_version}" >= "4.5.0"
 %define mpc_required 		0.8
 %if %{with lto}




More information about the vc mailing list