[Buildroot] [git commit] arch/Config.in: add BR2_ARCH_NEEDS_GCC_AT_LEAST_13
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Fri Jul 28 20:04:51 UTC 2023
commit: https://git.buildroot.net/buildroot/commit/?id=4bb8558d7c004ea4fe183598a7aae15e6bca1b43
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
This new symbol will be used by architectures introduced with gcc 13.
Signed-off-by: Romain Naour <romain.naour at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
arch/Config.in | 4 ++++
package/gcc/Config.in.host | 1 +
2 files changed, 5 insertions(+)
diff --git a/arch/Config.in b/arch/Config.in
index 1c0c400a98..db0d839c79 100644
--- a/arch/Config.in
+++ b/arch/Config.in
@@ -304,6 +304,10 @@ config BR2_ARCH_NEEDS_GCC_AT_LEAST_12
bool
select BR2_ARCH_NEEDS_GCC_AT_LEAST_11
+config BR2_ARCH_NEEDS_GCC_AT_LEAST_13
+ bool
+ select BR2_ARCH_NEEDS_GCC_AT_LEAST_12
+
# The following string values are defined by the individual
# Config.in.$ARCH files
config BR2_ARCH
diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index 73ecc14398..5c356e7cbd 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -48,6 +48,7 @@ config BR2_GCC_VERSION_11_X
config BR2_GCC_VERSION_12_X
bool "gcc 12.x"
+ depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_13
# powerpc spe support has been deprecated since gcc 8.x.
# https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html
depends on !BR2_powerpc_SPE
More information about the buildroot
mailing list