gcc 4.1.x: patch Makefile.in for cross compile badness
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Wed, 14 Jul 2010 20:52:38 +0000 (22:52 +0200)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Wed, 14 Jul 2010 20:52:38 +0000 (22:52 +0200)
commit6bd90b5b7e01a877e464bd729d9baef2f4994187
tree7804563e9bc1732672832ca345bba2a039c56ca3
parent098bbaa7446076dd10b2d221719e75b0964e0ba7
gcc 4.1.x: 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.

This has been fully tested with gcc 4.1.2. For 4.1.0 and 4.1.0 it is
verified that the patch applies properly

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
recipes/gcc/gcc-4.1.0.inc
recipes/gcc/gcc-4.1.0/Makefile.in.patch [new file with mode: 0644]
recipes/gcc/gcc-4.1.1.inc
recipes/gcc/gcc-4.1.1/Makefile.in.patch [new file with mode: 0644]
recipes/gcc/gcc-4.1.2.inc
recipes/gcc/gcc-4.1.2/Makefile.in.patch [new file with mode: 0644]