summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-04-27 00:20:15 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-15 18:21:53 +0100
commit4ac5071e977216f39eb4652b9734ab23aa6864ba (patch)
treecd129aa117de7f6d8777f47a20da7a0e2b65d306 /meta/recipes-devtools/gcc
parent1a1d641922f6ddb66371fa7a4598c2361aff811c (diff)
downloadpoky-4ac5071e977216f39eb4652b9734ab23aa6864ba.tar.gz
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>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-initial.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial.inc b/meta/recipes-devtools/gcc/gcc-cross-initial.inc
index ccbdcf53ea..6e2f25b562 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 () {
70 # includes real limits.h but this real limits.h is not staged yet 70 # includes real limits.h but this real limits.h is not staged yet
71 # so we overwirte the generated include-fixed/limits.h for gcc-cross-initial 71 # so we overwirte the generated include-fixed/limits.h for gcc-cross-initial
72 # to get rid references to real limits.h 72 # to get rid references to real limits.h
73 cp gcc/include-fixed/limits.h ${D}${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed/limits.h 73 cp gcc/include-fixed/limits.h ${D}${gcclibdir}/${TARGET_SYS}/${BINV}/include/limits.h
74 74
75 # gcc-runtime installs libgcc into a special location in staging since it breaks doing a standalone build 75 # gcc-runtime installs libgcc into a special location in staging since it breaks doing a standalone build
76 case ${PN} in 76 case ${PN} in