]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
gcc-cross-initial: Put limits.h in gccdir/include
authorKhem Raj <raj.khem@gmail.com>
Sun, 27 Apr 2014 07:20:15 +0000 (00:20 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Aug 2014 17:19:56 +0000 (18:19 +0100)
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.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-cross-initial.inc

index ccbdcf53eac8e23b8ecfe33e1d7cc9ec717fd674..6e2f25b562b51b7529b3ed1863bcf02277609b2b 100644 (file)
@@ -70,7 +70,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