]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
cross: export CC family from BUILD_* for cross compilers
authorJérémy Rosen <jeremy.rosen@smile.fr>
Wed, 7 Sep 2016 09:08:42 +0000 (11:08 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Sep 2016 21:22:07 +0000 (22:22 +0100)
commitddc7bd795b02da614b446285dc3680f94ed268aa
tree7b95d9bc93e78d792e039849cfaedc147e469f8b
parenta1bcc483d2f6a6716c557128fc43756895eb4f89
cross: export CC family from BUILD_* for cross compilers

cross-compilers are native recipes that need to be compiled by the host's
compiler. However they do not use native.bbclass

As a consequence, the various CC, CXX etc environment variables are not
correctly set and they will not honor the host compiler name provided
by the BUILD_* variables.

(From OE-Core rev: 110cc22614f92e848bbba9ecaa5e6f089f9a2749)

Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cross.bbclass