cc/gcc: fortran requires GMP and MPFR
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 31 22:19:21 2011 +0200 (2011-07-31)
changeset 25790672cb026d55
parent 2578 35afb309f957
child 2580 46dd211a7fd5
cc/gcc: fortran requires GMP and MPFR

Even if gcc itself does not require GMP or MPFR (eg. gcc-4.2 and before
don't), building the fortran frontend always required those companion
libraries.

Select them if the Fortran language is selected.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
config/cc/gcc.in
     1.1 --- a/config/cc/gcc.in	Sun Jul 31 22:07:08 2011 +0200
     1.2 +++ b/config/cc/gcc.in	Sun Jul 31 22:19:21 2011 +0200
     1.3 @@ -356,3 +356,7 @@
     1.4      default y
     1.5      depends on CC_LANG_JAVA
     1.6      depends on CC_GCC_4_3_or_later
     1.7 +
     1.8 +# Fortran always requires GMP+MPFR, whatever the gcc version
     1.9 +config CC_LANG_FORTRAN
    1.10 +    select CC_GCC_USE_GMP_MPFR