]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
binutils: another way to clear GPROFNG_ALTS for clang and musl
authorKai Kang <kai.kang@windriver.com>
Thu, 29 Sep 2022 08:05:36 +0000 (16:05 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Sep 2022 20:13:36 +0000 (21:13 +0100)
commit30630b0e61835278a2e06262560de67c7a867ff6
tree1f18d0a30c65b9d0133913ffa713caa9d3af7194
parentceac0492e75baa63a46365d8b63275437ad5671f
binutils: another way to clear GPROFNG_ALTS for clang and musl

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' and 'libc-musl' for GPROFNGS rather
than GPROFNG_ALTS to make it work as expected.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/binutils/binutils.inc