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

Jérémy Rosen jeremy.rosen at smile.fr
Thu Aug 25 12:40:34 UTC 2016



On 24/08/2016 21:56, Burton, Ross wrote:
>
> On 24 August 2016 at 12:28, Jérémy Rosen <jeremy.rosen at smile.fr 
> <mailto:jeremy.rosen at smile.fr>> wrote:
>
>     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...
>
>
> CC_FOR_BUILD and CPP_FOR_BUILD are de facto standards by virtue of 
> being part of autoconf-archive: 
> https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
>
> Looking at the patch wouldn't it be possible to avoid the entire .c -> 
> .o -> binary process and just go from .c -> binary via CC_FOR_BUILD?
Probably, but again the patch has been pushed upstream by someone else 
and I need to contact that person first to see how to handle it.

I can avoid that by defining CCLD_FOR_BUILD in the recipe, but since I 
need to wait for glibc for v2 anyway, I'm not in a rush...

if I have no news, I'll do that for V2


Regards
Jeremy
>
> Ross

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160825/f9a09def/attachment-0002.html>


More information about the Openembedded-core mailing list