]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
gcc: Pin native toolchain to GCC as well
authorKhem Raj <raj.khem@gmail.com>
Wed, 22 Oct 2025 05:08:07 +0000 (22:08 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Oct 2025 11:37:39 +0000 (11:37 +0000)
GCC is not buildable with clang and when using clang
for native compiler this fails to build native parts

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-15.2.inc

index 575987b6433f3781cb0c9cda4e8fe79b32f62beb..d178b254878a634994b89c644f84bdda5dd8e725 100644 (file)
@@ -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"