From 49dbfba22f4ae4d39e36484ee403bbb390ddbc6c Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Tue, 1 Jul 2025 21:44:10 +0200 Subject: [PATCH] package/gcc: add logic to hide gcc 15 for unsupported CPUs This logic is to prepare for future gcc versions and their new supported CPUs. As of today, gcc 15 is the latest gcc version and all architectures and CPUs in Buildroot are supported by this version. Signed-off-by: Julien Olivain Signed-off-by: Romain Naour --- package/gcc/Config.in.host | 1 + 1 file changed, 1 insertion(+) diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host index 8640280fdf..23fcaa9825 100644 --- a/package/gcc/Config.in.host +++ b/package/gcc/Config.in.host @@ -43,6 +43,7 @@ config BR2_GCC_VERSION_14_X config BR2_GCC_VERSION_15_X bool "gcc 15.x" + depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_16 # powerpc spe support has been deprecated since gcc 8.x. # https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html depends on !BR2_POWERPC_CPU_HAS_SPE