]> code.ossystems Code Review - openembedded-core.git/commit
gcc-target: Ensure buildtools-extended-tarball doesn't use arch=native
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Apr 2020 18:47:30 +0000 (19:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 May 2020 08:08:46 +0000 (09:08 +0100)
commitd0d4853dd773f7bbe0f72e50144559b80e80d67a
tree0138862ee361b4f341f06bbada3ed1f60ac0b7cd
parentaca2e5816203b54e0955eaa99fc980d010052d5d
gcc-target: Ensure buildtools-extended-tarball doesn't use arch=native

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-target.inc