On Tue, 2020-05-05 at 13:14 +0300, Adrian Bunk wrote:
> On Fri, May 01, 2020 at 05:46:01PM +0100, Richard Purdie wrote:
> > A nativesdk BBCLASSEXTEND was added to gcc-target without realising
> > this
> > would pass arch=native through to it for x86-64. This heavily
> > optimises
> > gcc output for the host its running on meaning it can't be reused
> > via
> > sstate on other machines.
> > 
> > Add class-target overrides here to get the desired behaviour. All
> > targets have been covered for completeness.
> > ...
> > +EXTRA_OECONF_append_x86-64_class-target = " --with-arch=native"
> > ...
> 
> What do you expect --with-arch=native to do for the target
> of a cross compiler?

gcc-target isn't a cross compiler.

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#137917): 
https://lists.openembedded.org/g/openembedded-core/message/137917
Mute This Topic: https://lists.openembedded.org/mt/73402174/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to