]> 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>
Thu, 20 Nov 2014 14:06:30 +0000 (14:06 +0000)
commitfec684512c6f934d7a847b0c9f5151da81426910
treef040a4709ad2dc26631e66f1dda5cc8f22efa321
parentbedcf3cf03d0c6283e06949a0c98773390c01ed0
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.

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