Changeset d9e2c20 in rtems


Ignore:
Timestamp:
Apr 21, 2009, 5:24:00 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
3521985b
Parents:
8c40f6e1
Message:

Add cygwin/mingw hack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/gcc/gccnewlib.add

    r8c40f6e1 rd9e2c20  
    5959
    6060%if %{defined _mpfr_minvers}
    61 %{?suse10_3:%global mpfr_provided 2.2.1}
     61# FIXME: This is an ugly cludge
    6262%{?fc9:%global mpfr_provided 2.3.1}
    6363%{?fc10:%global mpfr_provided 2.3.2}
    6464%{?fc11:%global mpfr_provided 2.4.1}
     65%{?suse10_3:%global mpfr_provided 2.2.1}
     66%{?cygwin:%global mpfr_provided 2.4.1}
     67%{?mingw32:%global mpfr_provided %{nil}}
    6568
    6669%if %{defined mpfr_provided}
     
    6871%define _build_mpfr 1
    6972%else
     73%if "%{_build}" != "%{_host}"
     74BuildRequires:  %{_host_rpmprefix}mpfr-devel >= %{_mpfr_minvers}
     75%else
    7076BuildRequires: mpfr-devel >= %{_mpfr_minvers}
     77%endif
    7178%endif
    7279%else
     
    7481%endif
    7582
    76 %if "%{_build}" != "%{_host}"
    77 BuildRequires:  %{_host_rpmprefix}mpfr-devel >= %{_mpfr_minvers}
    78 %endif
    7983%endif
    8084
Note: See TracChangeset for help on using the changeset viewer.