[OE-core] [PATCH 1/1] gcc: libgcc-common.inc: symlink gthr-posix -> gthr-default.h
Ioan-Adrian Ratiu
adrian.ratiu at ni.com
Tue Jan 26 11:25:16 UTC 2016
libgfortran needs gthr-default.h to exist (included by libgcc/gthr.h),
but for some reason it is not symlinked in configure as defined by
AC_CONFIG_LINKS. This patch creates it at the end of do_configure; thus
allowing libgfortran to build without erros.
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu at ni.com>
---
meta/recipes-devtools/gcc/libgcc-common.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-devtools/gcc/libgcc-common.inc b/meta/recipes-devtools/gcc/libgcc-common.inc
index b09ea65..2922219 100644
--- a/meta/recipes-devtools/gcc/libgcc-common.inc
+++ b/meta/recipes-devtools/gcc/libgcc-common.inc
@@ -13,6 +13,9 @@ do_configure () {
cd ${B}/${BPN}
chmod a+x ${S}/${BPN}/configure
${S}/${BPN}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
+
+ #fix libgfortran build which expects gthr-default.h -> gthr-posix.h
+ ln -sf ${S}/${BPN}/gthr-posix.h ${S}/${BPN}/gthr-default.h
}
do_compile () {
--
2.7.0
More information about the Openembedded-core
mailing list