From: Kai Kang <kai.k...@windriver.com> It disables gprofng for toolchain clang, so it should clear GPROFNG_ALTS when clang is used. But override 'toolchain-clang' is applied before overrides 'TRANSLATED_TARGET_ARCH' such as x86-64, then GPROFNG_ALTS is still set and not cleared. Append 'forcevariable' to apply it last then make it work as expected.
Signed-off-by: Kai Kang <kai.k...@windriver.com> --- meta/recipes-devtools/binutils/binutils.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc index 4dde387a8a..c7113f8a1f 100644 --- a/meta/recipes-devtools/binutils/binutils.inc +++ b/meta/recipes-devtools/binutils/binutils.inc @@ -50,7 +50,7 @@ GPROFNG_ALTS:x86-64 = "${GPROFNGS}" GPROFNG_ALTS:aarch64 = "${GPROFNGS}" # it disables gprofng for clang and musl in the bb file -GPROFNG_ALTS:toolchain-clang = "" +GPROFNG_ALTS:toolchain-clang:forcevariable = "" GPROFNG_ALTS:libc-musl = "" LDGOLD_ALTS ?= "ld.gold dwp" -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#171165): https://lists.openembedded.org/g/openembedded-core/message/171165 Mute This Topic: https://lists.openembedded.org/mt/93987802/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-