Re: [OE-core] [PATCH] binutils: another way to clear GPROFNG_ALTS for clang and musl

2022-09-29 Thread Ross Burton
Fixes my builds, thanks Kai. Ross > On 29 Sep 2022, at 09:05, kai via lists.openembedded.org > wrote: > > From: Kai Kang > > It disables gprofng for toolchain clang and libc musl, so GPROFNG_ALTS > should be cleared for them. But override 'toolchain-clang' is applied > before overrides 'TRAN

[OE-core] [PATCH] binutils: another way to clear GPROFNG_ALTS for clang and musl

2022-09-29 Thread kai
From: Kai Kang It disables gprofng for toolchain clang and libc musl, so GPROFNG_ALTS should be cleared for them. But override 'toolchain-clang' is applied before overrides 'TRANSLATED_TARGET_ARCH' such as x86-64, then GPROFNG_ALTS is still set and not cleared. Apply overrides 'toolchain-clang'