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

Jérémy Rosen jeremy.rosen at smile.fr
Wed Aug 24 11:28:40 UTC 2016


(Adding original patch author to mail)


On 24/08/2016 13:05, Jérémy Rosen wrote:

[...]
>>>
>>> +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 ?
> I'll have a look, I have been looking around and i'm not even sure if 
> CC_FOR_BUILD is an autoconf thing... CCLD seems to be unique to that 
> recipe. i'll look at the patch
>
ok, so CC_FOR_BUILD seems to be a common convention and CCLD_FOR_BUILD 
seems only used by our patch for pcre. Fixing it to use CC_FOR_BUILD for 
linking is trivial

but the patch is marked as submitted upstream, so Fahad... what is the 
status ? how can we do that ?

I can also set CCLD_FOR_BUILD in ther .bb file instead of 
autotools.bbclass, that's trivial... the question is whether we should 
fix the patch or not...

>>> +
>>> 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
>




More information about the Openembedded-core mailing list