]> code.ossystems Code Review - openembedded-core.git/commit
gcc: add build directory to include directories
authorRoy.Li <rongqing.li@windriver.com>
Fri, 31 May 2013 15:55:46 +0000 (10:55 -0500)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 16 Aug 2013 09:39:45 +0000 (10:39 +0100)
commitf511ecd029d35964f345e38c6f4fc4f8c78c94d8
tree90b978c387f1bf7f487e1528f594859938efb117
parent4b2a41e8c28e4f05f1623d1d36eb4de26e1c7fa4
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 master 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