gcc-cross-initial: Put limits.h in gccdir/include
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. (From OE-Core rev: 3bdc225a9e622e9d594944833964fe396200db01) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
1a1d641922
commit
4ac5071e97
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue