diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross-initial.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-initial.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial.inc b/meta/recipes-devtools/gcc/gcc-cross-initial.inc index 93a6d78e2e..aee46a6c6c 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-initial.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-initial.inc | |||
@@ -27,3 +27,13 @@ EXTRA_OECONF = "--with-newlib \ | |||
27 | do_compile () { | 27 | do_compile () { |
28 | oe_runmake all-gcc all-target-libgcc | 28 | oe_runmake all-gcc all-target-libgcc |
29 | } | 29 | } |
30 | # fixed limits.h infact includes the so called real limits.h | ||
31 | # which should come from libc but when we build libc-initial | ||
32 | # then bunch of configure tests include fixed limits.h which in turn | ||
33 | # includes real limits.h but this real limits.h is not staged yet | ||
34 | # so we overwirte the generated include-fixed/limits.h for gcc-cross-initial | ||
35 | # to get rid references to real limits.h | ||
36 | |||
37 | do_install_append1() { | ||
38 | cp gcc/include-fixed/limits.h ${D}${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed/limits.h | ||
39 | } | ||