diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-07-31 20:19:21 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-07-31 20:19:21 (GMT) |
commit | 9be30ce778bc0a107c0e5a426da4259b4d7a2765 (patch) | |
tree | da781d5a8b9797fb33ee99e9fd2268fb3fdf88ec /config/cc | |
parent | 03b1bc03028b3b4c457cf56df6a28faa3de3e750 (diff) |
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>
Diffstat (limited to 'config/cc')
-rw-r--r-- | config/cc/gcc.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in index 9e291f4..c3f2fc3 100644 --- a/config/cc/gcc.in +++ b/config/cc/gcc.in @@ -356,3 +356,7 @@ config CC_LANG_JAVA_USE_ECJ default y depends on CC_LANG_JAVA depends on CC_GCC_4_3_or_later + +# Fortran always requires GMP+MPFR, whatever the gcc version +config CC_LANG_FORTRAN + select CC_GCC_USE_GMP_MPFR |