summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-target.inc
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2019-11-25 06:58:00 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-16 16:44:53 +0000
commit4dabdf2ff5769fb13468d74be6c6c38ce1d2bdc1 (patch)
treebc0ea99a432ff22a9fa34ea668c55d3a7c7c82c4 /meta/recipes-devtools/gcc/gcc-target.inc
parent7064f9c626ed7afb4e2830ba5e6c2b76eea943dc (diff)
downloadpoky-4dabdf2ff5769fb13468d74be6c6c38ce1d2bdc1.tar.gz
gcc-cross.inc: Prevent native sysroot from leaking into configargs.h
Prevent the native(sdk) sysroot path from leaking into configargs.h. The configargs.h header is intended to be static and unchanged as the content is used as a means of determining that a gcc plugin is built for the same gcc. This also effects the output of 'gcc --version'. Due to per recipe sysroots and staging, the sysroot path would be replaced with the sysroot local to the recipe thus changing the content of configargs.h. The sysroot path is replaced with a generic "/host" prefix which represents the host sysroot (e.g. native or nativesdk). (From OE-Core rev: 9bb270b3f12ff94b1541649078741e683020ffe9) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 84a78f46d59447eeec3d69532a7506148f64c979) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-target.inc')
0 files changed, 0 insertions, 0 deletions