From 9be30ce778bc0a107c0e5a426da4259b4d7a2765 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 31 Jul 2011 22:19:21 +0200 Subject: 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" 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 -- cgit v0.10.2-6-g49f6