]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
gcc: ensure target gcc headers can be included paule/gcc-omp-fix-daisy
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 22 Jan 2015 10:35:37 +0000 (10:35 +0000)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 22 May 2015 15:59:17 +0000 (16:59 +0100)
commit704c0722fd621bb7c95f9ec63413f1c6ec4fce3e
treea1743cc1da683f032f55eb561e1ab11a39422373
parent5a577ec878a15f3caaf4893b819825ffb8c81266
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 master rev: 5c87bb9ac2b35b3f8cf2b7d3e4507e7013115162)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/recipes-devtools/gcc/gcc-4.8.inc
meta/recipes-devtools/gcc/gcc-4.8/target-gcc-includedir.patch [new file with mode: 0644]