> On Aug 23, 2016, at 12:25 AM, Jérémy Rosen <[email protected]> wrote: > > 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 <[email protected]> > --- > 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}”
if its used by just one recipe then its not worth abstracting it out. Perhaps fixing https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-support/libpcre/libpcre/pcre-cross.patch is another option ? > + > 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 > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core
signature.asc
Description: Message signed with OpenPGP using GPGMail
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
