gcc4.5: patch Makefile.in for cross compile badness
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Thu, 12 Aug 2010 20:13:28 +0000 (22:13 +0200)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sat, 14 Aug 2010 09:35:47 +0000 (11:35 +0200)
commitbf621311bf5a46ee9ca125a68bc1178ee881db9d
tree9e833b069949aa54f292eca7d05464178fb0312b
parentbf072814d24e5af49658b4d784c6845a73be978d
gcc4.5: patch Makefile.in for cross compile badness

When compiling gcc target code make passes -I(GMPINC)
but this one points to the host dir (it is set to HOST_GMPINC
which in oe points to tmp/sysroots/i686-linux/usr/include).
This patch breaks the env var $(INCLUDES) in two and
only uses the TARGET specific part for compiling libgcc
and the crt stuff.

The patch has been verified by baking the 4.5 recipe with
bitbake -c patch -b gcc_4.5.bb

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
recipes/gcc/gcc-4.5.inc
recipes/gcc/gcc-4.5/Makefile.in.patch [new file with mode: 0644]