musl e.g. is configured to not use fixed-include
which is an improvement btw. but libgcc-initial configure
has tests which probe for limits.h and since we put
it in include-fixed/ dir and that dir does not appear
in gcc's internal default search path the configure tests
for CPP detection fail and libgcc-initial can not be compiled.

Signed-off-by: Khem Raj <raj.k...@gmail.com>
---
 meta/recipes-devtools/gcc/gcc-cross-initial.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial.inc 
b/meta/recipes-devtools/gcc/gcc-cross-initial.inc
index 5a6da8b..448d311 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-initial.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-initial.inc
@@ -66,7 +66,7 @@ do_install () {
        # includes real limits.h but this real limits.h is not staged yet
        # so we overwirte the generated include-fixed/limits.h for 
gcc-cross-initial
        # to get rid references to real limits.h
-       cp gcc/include-fixed/limits.h 
${D}${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed/limits.h
+       cp gcc/include-fixed/limits.h 
${D}${gcclibdir}/${TARGET_SYS}/${BINV}/include/limits.h
 
        # gcc-runtime installs libgcc into a special location in staging since 
it breaks doing a standalone build
        case ${PN} in
-- 
1.7.10.4

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to