summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.9.inc
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-01-22 14:50:00 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-29 15:36:47 +0000
commit8bef63373d605576779adef3ebd34c52f72632ef (patch)
tree9f9400723a0594e3ec1114f1a2344154ab7f645e /meta/recipes-devtools/gcc/gcc-4.9.inc
parenta3dbfc82ed6796ce2e198e50c478bc4231ca86ff (diff)
downloadpoky-8bef63373d605576779adef3ebd34c52f72632ef.tar.gz
gcc: ensure target gcc headers can be included
There are a few headers installed as part of gcc-runtime (omp.h, ssp/*.h). Being installed from a recipe built for the target architecture, these are within the target sysroot and not cross/nativesdk; thus they weren't able to be found by gcc with the existing search paths. Add support for picking up these headers under the sysroot supplied on the gcc command line in order to resolve this. Thanks to Richard Purdie for giving me a number of pointers during fixing this issue. Fixes [YOCTO #7141]. (From OE-Core rev: 5c87bb9ac2b35b3f8cf2b7d3e4507e7013115162) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.9.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.9.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.9.inc b/meta/recipes-devtools/gcc/gcc-4.9.inc
index 2568e995ac..0f407b7d5d 100644
--- a/meta/recipes-devtools/gcc/gcc-4.9.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.9.inc
@@ -74,6 +74,7 @@ SRC_URI = "\
74 file://0057-aarch64-config.patch \ 74 file://0057-aarch64-config.patch \
75 file://0058-gcc-r212171.patch \ 75 file://0058-gcc-r212171.patch \
76 file://0059-gcc-PR-rtl-optimization-63348.patch \ 76 file://0059-gcc-PR-rtl-optimization-63348.patch \
77 file://target-gcc-includedir.patch \
77" 78"
78SRC_URI[md5sum] = "fddf71348546af523353bd43d34919c1" 79SRC_URI[md5sum] = "fddf71348546af523353bd43d34919c1"
79SRC_URI[sha256sum] = "d334781a124ada6f38e63b545e2a3b8c2183049515a1abab6d513f109f1d717e" 80SRC_URI[sha256sum] = "d334781a124ada6f38e63b545e2a3b8c2183049515a1abab6d513f109f1d717e"