Re: [OE-core] [PATCH 1/2] gcc-target: Ensure buildtools-extended-tarball doesn't use arch=native

2020-05-05 Thread Richard Purdie
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

Re: [OE-core] [PATCH 1/2] gcc-target: Ensure buildtools-extended-tarball doesn't use arch=native

2020-05-05 Thread Adrian Bunk
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

Re: [OE-core] [PATCH 1/2] gcc-target: Ensure buildtools-extended-tarball doesn't use arch=native

2020-05-01 Thread Khem Raj
On 5/1/20 9:46 AM, 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

[OE-core] [PATCH 1/2] gcc-target: Ensure buildtools-extended-tarball doesn't use arch=native

2020-05-01 Thread Richard Purdie
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