From e10024c5810f73be3ea8c254728302430b9b3e29 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 22 Mar 2010 03:03:56 +0000 Subject: [PATCH] Add cygwin mpc. --- contrib/crossrpms/gcc/gccnewlib.add | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/crossrpms/gcc/gccnewlib.add b/contrib/crossrpms/gcc/gccnewlib.add index 40f0ab795f..7f3185d035 100644 --- a/contrib/crossrpms/gcc/gccnewlib.add +++ b/contrib/crossrpms/gcc/gccnewlib.add @@ -76,7 +76,7 @@ BuildRequires: %{_host_rpmprefix}gcc %endif %if 0%{?cygwin} -%global mpc_provided %{nil} +%global mpc_provided 0.8 %global mpfr_provided 2.4.1 %global gmp_provided 4.3.1 %endif @@ -116,6 +116,7 @@ BuildRequires: %{_host_rpmprefix}gcc %if %{defined mpc_required} %if "%{mpc_provided}" >= "%{mpc_required}" +%{?cygwin:BuildRequires: libmpc-devel >= %{mpc_required}} %{?fedora:BuildRequires: libmpc-devel >= %{mpc_required}} %{?suse:BuildRequires: mpc-devel >= %{mpc_required}} %if "%{_build}" != "%{_host}"