diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.7.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-initial.inc | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc index 43d77ecf07..709d7d81f3 100644 --- a/meta/recipes-devtools/gcc/gcc-4.7.inc +++ b/meta/recipes-devtools/gcc/gcc-4.7.inc @@ -1,6 +1,6 @@ require gcc-common.inc -PR = "r7" +PR = "r8" # Third digit in PV should be incremented after a minor release # happens from this branch on gcc e.g. currently its 4.7.1 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 \ do_compile () { oe_runmake all-gcc all-target-libgcc } +# fixed limits.h infact includes the so called real limits.h +# which should come from libc but when we build libc-initial +# then bunch of configure tests include fixed limits.h which in turn +# 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 + +do_install_append1() { + cp gcc/include-fixed/limits.h ${D}${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed/limits.h +} |