From f5a06f0235fb273e98d4d2a261fffac94a458f79 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 21 Oct 2025 22:08:07 -0700 Subject: [PATCH] gcc: Pin native toolchain to GCC as well GCC is not buildable with clang and when using clang for native compiler this fails to build native parts (From OE-Core rev: 38825ed9e8f24a2ae31df377f7f3c971bc617a19) Signed-off-by: Khem Raj Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/gcc/gcc-15.2.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/gcc/gcc-15.2.inc b/meta/recipes-devtools/gcc/gcc-15.2.inc index 575987b643..d178b25487 100644 --- a/meta/recipes-devtools/gcc/gcc-15.2.inc +++ b/meta/recipes-devtools/gcc/gcc-15.2.inc @@ -11,6 +11,7 @@ BINV = "15.2.0" FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc:${FILE_DIRNAME}/gcc/backport:" TOOLCHAIN = "gcc" +TOOLCHAIN_NATIVE = "gcc" DEPENDS =+ "mpfr gmp libmpc zlib zstd flex-native" NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native flex-native zstd-native"