[Buildroot] [PATCH 10/13] toolchain/toolchain-external: add libgfortran and libquadmath to the USR_LIB_EXTERNAL_LIBS list
Vicente Olivert Riera
Vincent.Riera at imgtec.com
Mon Jun 27 15:12:31 UTC 2016
From: Samuel Martin <s.martin49 at gmail.com>
Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
---
toolchain/toolchain-external/toolchain-external.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index 53a7c7a..3dbcc3a 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -90,6 +90,10 @@ ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
TOOLCHAIN_EXTERNAL_LIBS += libstdc++.so.*
endif
+ifeq ($(BR2_TOOLCHAIN_HAS_FORTRAN),y)
+USR_LIB_EXTERNAL_LIBS += libgfortran.so.* libquadmath.so*
+endif
+
TOOLCHAIN_EXTERNAL_LIBS += $(call qstrip,$(BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS))
# Details about sysroot directory selection.
--
2.7.3
More information about the buildroot
mailing list