gcc-cross-initial: Reinstate limits.h generation fix
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Sep 2012 15:50:10 +0000 (16:50 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Sep 2012 23:07:42 +0000 (00:07 +0100)
commit013ad4d13fd03325f2d6b5db795581a33e338db5
treec9a24654e2d66b1ac6b6c87c49e1fe21257214f9
parent036b46b379b5b83926a28e92ae258a5081641d87
gcc-cross-initial: Reinstate limits.h generation fix

The removal of gcc-cross-intermediate inadvertently reintroduced a
problem with the limits.h file being incorrectly/inconsistently
generated.

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=b0faebd1f07e1616004bd19664395932e7c2c48f
reverted part of:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c8815d2f21849deb9359706f54dc71490773415e

This reintroduces the protected sysroot ensuring the limits.h file is
always correctly generated. To reproduce the bug, build gcc-cross, then
rebuild gcc-cross-initial and it will reference the limits.h file from
gcc-cross in the sysroot.

(From OE-Core rev: 71854f5c8c6850ed37777cad21acc92fdbea32fc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-cross-initial.inc