[oe-commits] Khem Raj : gcc-cross-initial: Put limits.h in gccdir/include

git at git.openembedded.org git at git.openembedded.org
Fri Aug 15 07:44:43 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: a84465b9fae79e00ebb601a780e205999ec768f2
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a84465b9fae79e00ebb601a780e205999ec768f2

Author: Khem Raj <raj.khem at gmail.com>
Date:   Sun Apr 27 00:20:15 2014 -0700

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.

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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 ccbdcf5..6e2f25b 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-initial.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-initial.inc
@@ -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



More information about the Openembedded-commits mailing list