[OE-core] [CONSOLIDATED PULL 15/32] conf, recipes: Redefine LINKER_HASH_STYLE

Khem Raj raj.khem at gmail.com
Fri Aug 19 16:35:23 UTC 2011


On Fri, Aug 19, 2011 at 9:13 AM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> On Fri, 2011-08-19 at 08:27 -0700, Khem Raj wrote:
>> > Also, if mips doesn't support this, how is anything at all working at
>> > the moment?
>>
>> see last line in distro/include/tcmode-default.inc
>>
>> TARGET_LINK_HASH_STYLE ?=
>> "${@['-Wl,--hash-style=gnu',''][bb.data.getVar('TARGET_ARCH', d, True)
>> in ['mips', 'mipsel', 'mips64', 'mips64el']]}"
>
> So given that, why can't we just add TARGET_LINK_HASH_STYLE to gcc's
> EXTRA_OECONF?

if you mean the configure option --with-linker-hash-style then
yes we can and certainly we can get rid of TARGET_LINK_HASH_STYLE
altogether then however
the patch I backported only for gcc 4.6 certainly can be done for 4.5
and I left it in there mainly for
prebuilt external toolchains. since we don't control how those
prebuilt toolchains are configured

>
> Cheers,
>
> Richard
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>




More information about the Openembedded-core mailing list