]> code.ossystems Code Review - openembedded-core.git/commit
image-mklibs: ensure sysroot is correctly set when calling gcc
authorNicolas Dechesne <nicolas.dechesne@linaro.org>
Fri, 22 Nov 2013 22:39:43 +0000 (22:39 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Dec 2013 16:56:38 +0000 (16:56 +0000)
commit7275425524b8bb3d16d5c0c0a62aee5b08359ffd
treeb7466f5146249e33527c1adfc2f75b521f58ef1d
parent17f851f5c8e2a90f558396654b62a8f0f88f137f
image-mklibs: ensure sysroot is correctly set when calling gcc

[YOCTO #2519]

When getting gcc from sstate, it is possible to get a gcc with a bogus
sysroot configuration, as discussed in [1] or in [YOCTO #2519].

mklibs script will eventually call gcc, so we need to make sure that it
provides gcc with the right sysroot location.

[1] http://lists.openembedded.org/pipermail/openembedded-core/2013-September/084159.html

(From OE-Core master rev: 3a66dd762e493ad2cda57110be67c3b06628050a)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/classes/image-mklibs.bbclass