The autotools class already export most *_FOR_BUILD from bitbake's BUILD_* variables. Somehow the variable CCLD_FOR_BUILD was missing
At least libpcre uses that variable and will use gcc instead of BUILD_CCLD to link binaries Signed-off-by: Jérémy Rosen <jeremy.ro...@smile.fr> --- meta/classes/autotools.bbclass | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 076899c..9041021 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass @@ -49,6 +49,8 @@ export CXXFLAGS_FOR_BUILD="${BUILD_CXXFLAGS}" export LD_FOR_BUILD = "${BUILD_LD}" export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}" +export CCLD_FOR_BUILD = "${BUILD_CCLD}" + def append_libtool_sysroot(d): # Only supply libtool sysroot option for non-native packages if not bb.data.inherits_class('native', d): -- git-series 0.8.9 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core