Changeset 84d31bc5 in rtems


Ignore:
Timestamp:
May 8, 2008, 5:01:27 AM (12 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.8
Children:
492e450
Parents:
b61c8cca
Message:

Sync with CVS HEAD.

File:
1 edited

Legend:

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

    rb61c8cca r84d31bc5  
    88%define gccnewlib_version       gcc%{gcc_version}newlib%{newlib_version}
    99%endif
     10
     11%define mpfr_version    2.3.1
    1012
    1113Name:           @rpmprefix@@tool_target@-gcc
     
    2123%define _use_internal_dependency_generator 0
    2224
     25BuildRequires:  %{_host_rpmprefix}gcc
     26
     27%if "%{gcc_version}" >= "4.3.0"
     28BuildRequires:  gmp-devel >= 4.1
    2329%if "%{_build}" != "%{_host}"
    24 BuildRequires:  @rpmprefix@%{_host}-gcc
     30BuildRequires:  %{_host_rpmprefix}gmp-devel
     31BuildRequires:  %{_host_rpmprefix}mpfr-devel
     32%endif
     33%if "%{?fedora}" >= "8"
     34BuildRequires:  mpfr-devel >= 2.3.0
     35%endif
     36%if "%{?suse}" > "10.3"
     37BuildRequires:  mpfr-devel >= 2.3.0
     38%endif
     39# These distros ship an insufficient mpfr
     40%{?el4:%define  _build_mpfr     1}
     41%{?suse10_2:%define     _build_mpfr     1}
     42%{?suse10_3:%define     _build_mpfr     1}
     43%endif
     44
     45%if "%{_build}" != "%{_host}"
    2546BuildRequires:  @rpmprefix@@tool_target@-gcc
    2647%endif
     
    2849%if "%{gcc_version}" >= "4.2.0"
    2950BuildRequires:  flex bison
     51%if %build_f95
     52BuildRequires:  gmp-devel >= 4.1
     53%if "%{?fedora}" >= "8"
     54BuildRequires:  mpfr-devel >= 2.2.1
    3055%endif
     56%endif
     57%endif
     58
    3159%if %build_gcj
    3260# Building gcj requires bison and zlib
     
    72100@SOURCES@
    73101
     102%if "%{gcc_version}" >= "4.3.0"
     103Source60:    http://www.mpfr.org/mpfr-current/mpfr-%{mpfr_version}.tar.bz2
     104%endif
     105
    74106%description
    75107Cross gcc for @tool_target@.
Note: See TracChangeset for help on using the changeset viewer.