[OE-core] [PATCH 1/8] [autotools] export CCLD_FOR_BUILD

Khem Raj raj.khem at gmail.com
Wed Aug 24 00:50:27 UTC 2016


> On Aug 23, 2016, at 12:25 AM, Jérémy Rosen <jeremy.rosen at smile.fr> 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 <jeremy.rosen at 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}”

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
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160823/4246e009/attachment-0002.sig>


More information about the Openembedded-core mailing list