package/gcc: select BR2_TOOLCHAIN_HAS_FORTRAN when appropriate
authorSamuel Martin <s.martin49@gmail.com>
Sun, 3 Jul 2016 13:47:42 +0000 (15:47 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 3 Jul 2016 14:58:11 +0000 (16:58 +0200)
This is only for the Buildroot toolchain backend.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gcc/Config.in.host

index 7d09b515d0cfb5d5024c52addb94715d7be713d0..edb93fb1f35753d4ef922c9dd41afed8554d49be 100644 (file)
@@ -127,6 +127,7 @@ config BR2_TOOLCHAIN_BUILDROOT_FORTRAN
        # on architecture building libquadmath, wchar is required
        depends on !BR2_TOOLCHAIN_HAS_LIBQUADMATH || \
                (BR2_TOOLCHAIN_HAS_LIBQUADMATH && BR2_USE_WCHAR)
+       select BR2_TOOLCHAIN_HAS_FORTRAN
        help
          Enable this option if you want your toolchain to support the
          Fortran language and you want Fortran libraries to be