|author||Thomas Petazzoni <firstname.lastname@example.org>||2013-09-02 18:06:30 +0200|
|committer||Peter Korsgaard <email@example.com>||2013-09-15 22:54:41 +0200|
gcc: fix Fortran support
This commit fixes the Fortran support in the gcc package by making sure that the runtime Fortran library is properly installed to the target. It also takes this opportunity to slightly reword the Config.in option help text, to no longer mention gcc < 4.2 since they are no longer supported in Buildroot, and to have a more meaningful explanation. Finally, it fixes the gcc-final.mk code to use the correct BR2_INSTALL_FORTRAN option rather than the non-existing BR2_GCC_CROSS_FORTRAN option, to decide whether Fortran support should be enabled or not in the cross-compiler. Signed-off-by: Thomas Petazzoni <firstname.lastname@example.org> Signed-off-by: Peter Korsgaard <email@example.com>
Diffstat (limited to 'package/gcc/Config.in.host')
1 files changed, 4 insertions, 4 deletions
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index 7e6df2d9e6..b440ee2e09 100644
@@ -119,13 +119,13 @@ config BR2_INSTALL_OBJC
Build/install Objective-C compiler and runtime?
- bool "Build/install Fortran compiler and runtime?"
+ bool "Enable Fortran support"
depends on !BR2_avr32
- Build/install Fortran compiler and runtime?
- Note that it is highly recommended NOT to use gfortran
- from gcc older than 4.2.0
+ Enable the support for the Fortran language in the
+ cross-compiler, and install the Fortran runtime to the
bool "Enable compiler tls support" if BR2_TOOLCHAIN_BUILDROOT_UCLIBC