|
@@ -118,8 +118,15 @@ config BR2_TOOLCHAIN_BUILDROOT_CXX
|
|
|
C++ language and you want C++ libraries to be installed on
|
|
|
your target system.
|
|
|
|
|
|
+comment "Fortran support needs a toolchain w/ wchar"
|
|
|
+ depends on BR2_TOOLCHAIN_HAS_LIBQUADMATH
|
|
|
+ depends on !BR2_USE_WCHAR # libquadmath
|
|
|
+
|
|
|
config BR2_TOOLCHAIN_BUILDROOT_FORTRAN
|
|
|
bool "Enable Fortran support"
|
|
|
+ # on architecture building libquadmath, wchar is required
|
|
|
+ depends on !BR2_TOOLCHAIN_HAS_LIBQUADMATH || \
|
|
|
+ (BR2_TOOLCHAIN_HAS_LIBQUADMATH && BR2_USE_WCHAR)
|
|
|
help
|
|
|
Enable this option if you want your toolchain to support the
|
|
|
Fortran language and you want Fortran libraries to be
|