diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-03-06 05:40:03 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-03-06 05:40:03 +0000 |
commit | f8ee67eb4677ccfe7b3765af6a0bb7445f09234d (patch) | |
tree | 896e336c8f9ea534c1f352427743d03b810f16f9 | |
parent | 2007-03-05 Till Straumann <strauman@slac.stanford.edu> (diff) | |
download | rtems-f8ee67eb4677ccfe7b3765af6a0bb7445f09234d.tar.bz2 |
Require gmp and mpfr for gcc > 4.2.0 fortran.
-rw-r--r-- | contrib/crossrpms/gcc/gccnewlib.add | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/crossrpms/gcc/gccnewlib.add b/contrib/crossrpms/gcc/gccnewlib.add index 186bfab30c..df5f088f27 100644 --- a/contrib/crossrpms/gcc/gccnewlib.add +++ b/contrib/crossrpms/gcc/gccnewlib.add @@ -38,7 +38,14 @@ BuildRequires: mpfr-devel >= 2.3.0 %if "%{gcc_version}" >= "4.2.0" BuildRequires: flex bison +%if %build_f95 +BuildRequires: gmp-devel >= 4.1 +%if "%{?fedora}" >= "8" +BuildRequires: mpfr-devel >= 2.2.1 +%endif %endif +%endif + %if %build_gcj # Building gcj requires bison and zlib BuildRequires: bison |