toolchain/toolchain-external: add lib{gfortran,quadmath} to TOOLCHAIN_EXTERNAL_LIBS
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>
This commit is contained in:
parent
a1922c107b
commit
8814d65337
@ -90,6 +90,14 @@ ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
|
||||
TOOLCHAIN_EXTERNAL_LIBS += libstdc++.so.*
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_FORTRAN),y)
|
||||
TOOLCHAIN_EXTERNAL_LIBS += libgfortran.so.*
|
||||
# fortran needs quadmath on x86 and x86_64
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBQUADMATH),y)
|
||||
TOOLCHAIN_EXTERNAL_LIBS += libquadmath.so*
|
||||
endif
|
||||
endif
|
||||
|
||||
TOOLCHAIN_EXTERNAL_LIBS += $(call qstrip,$(BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS))
|
||||
|
||||
# Details about sysroot directory selection.
|
||||
|
Loading…
Reference in New Issue
Block a user