arch: add BR2_ARCH_NEEDS_GCC_AT_LEAST_11
authorRomain Naour <romain.naour@gmail.com>
Sat, 12 Jun 2021 09:40:13 +0000 (11:40 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 20 Jun 2021 16:46:51 +0000 (18:46 +0200)
This new symbol will be used by architectures introduced with gcc 11.

[1] https://gcc.gnu.org/gcc-11/changes.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
arch/Config.in
package/gcc/Config.in.host

index 155403c3636acfdd877c37571a4968b2d32ea837..1853e26bb43785bd99221c07d1193f6beb5d134e 100644 (file)
@@ -321,6 +321,10 @@ config BR2_ARCH_NEEDS_GCC_AT_LEAST_10
        bool
        select BR2_ARCH_NEEDS_GCC_AT_LEAST_9
 
+config BR2_ARCH_NEEDS_GCC_AT_LEAST_11
+       bool
+       select BR2_ARCH_NEEDS_GCC_AT_LEAST_10
+
 # The following string values are defined by the individual
 # Config.in.$ARCH files
 config BR2_ARCH
index e44eea135550ea559a0306c48dba9a0d6d71e2f5..f9c3cf5493f7a84978dc96d97e4fa4eb580f9802 100644 (file)
@@ -41,6 +41,7 @@ config BR2_GCC_VERSION_9_X
 
 config BR2_GCC_VERSION_10_X
        bool "gcc 10.x"
+       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_11
        # 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