summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-runtime.inc
diff options
context:
space:
mode:
authorIoan-Adrian Ratiu <adrian.ratiu@ni.com>2016-01-19 16:46:43 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-20 09:20:06 +0000
commit80333155db8fa53fb52898c4312daa656de89c3b (patch)
tree671836dd1a63f89d30e05b178779b412bac8ea85 /meta/recipes-devtools/gcc/gcc-runtime.inc
parent9662e6860be453a28c65d9e25c6ed618563514fc (diff)
downloadopenembedded-core-80333155db8fa53fb52898c4312daa656de89c3b.tar.gz
openembedded-core-80333155db8fa53fb52898c4312daa656de89c3b.tar.bz2
openembedded-core-80333155db8fa53fb52898c4312daa656de89c3b.zip
gcc-runtime.inc: provide libquadmath
libgfortran's build fails with "ld: cannot find -lquadmath" unless libquadmath is added to gcc-runtime's RUNTIMETARGET Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-runtime.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index 075afbd4fe..f20d298b6a 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -10,7 +10,9 @@ EXTRA_OECONF_PATHS = "\
EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
-RUNTIMETARGET = "libssp libstdc++-v3 libgomp libatomic"
+RUNTIMETARGET = "libssp libstdc++-v3 libgomp libatomic \
+ ${@bb.utils.contains_any('FORTRAN', [',fortran',',f77'], 'libquadmath', '', d)} \
+"
# ?
# libiberty
# libmudflap