]> code.ossystems Code Review - openembedded-core.git/commit
gcc-4.9: fix the compile failure of 'defaults.h' not found
authorHongxu Jia <hongxu.jia@windriver.com>
Thu, 13 Nov 2014 10:05:30 +0000 (18:05 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 31 Dec 2014 10:17:23 +0000 (10:17 +0000)
commit174b7c3fe0240ff6d897b5418a8bc020086f7ba1
tree8ef3ad1a32a2f25acdfa4814598fb7b8e0ef5416
parent1a7c242d29b657f3ba2bd629535ef7d833b5b118
gcc-4.9: fix the compile failure of 'defaults.h' not found

While compiling gcc-crosssdk-initial-x86_64 on some host, there is
occasionally failure that test the existance of default.h doesn't
work.
...
| tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/calls.c:1240:
error: 'STACK_CHECK_MAX_VAR_SIZE' was not declared in this scope
...

The reason is tm_include_list='** defaults.h' rather than
tm_include_list='** ./defaults.h'

So we add the test condition for this situation.

(From OE-Core rev: fec684512c6f934d7a847b0c9f5151da81426910)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/gcc/gcc-4.9/0023-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch