gcc: add build directory to include directories
authorRoy.Li <rongqing.li@windriver.com>
Fri, 31 May 2013 15:55:46 +0000 (10:55 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Jun 2013 14:55:46 +0000 (15:55 +0100)
commitd293a648074d2ca6aee97da5caf0974846bbd422
tree92d1b274ec1b5d6a670f600bbeb7bd45ef120ed5
parent4751235b2bde27aaffb458d68a814abb09fa7f22
gcc: add build directory to include directories

Add build directory to include directories by -I${B}/include which will
be searched before standard system include directories.

Both libunwind and gcc supply unwind.h, once gcc use libunwind's unwind.h,
the compiling will fail.

This patch is generally not applicable to the upstream as they do not
use libunwind.

(From OE-Core rev: 2b47bce78536a800205b2385bba69038351545e5)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc_4.7.bb
meta/recipes-devtools/gcc/gcc_4.8.bb