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

Burton, Ross ross.burton at intel.com
Wed Aug 24 19:56:10 UTC 2016


On 24 August 2016 at 12:28, Jérémy Rosen <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?

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


More information about the Openembedded-core mailing list