arch: add BR2_ARCH_NEEDS_GCC_AT_LEAST_9
authorRomain Naour <romain.naour@gmail.com>
Thu, 20 Jun 2019 10:07:16 +0000 (12:07 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 22 Jun 2019 19:38:23 +0000 (21:38 +0200)
This new symbol will be used by architectures introduced with gcc 9 and
by external toolchains based on gcc 9.

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

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
arch/Config.in
package/gcc/Config.in.host

index db1199c6a2571b807e4498910859ec0fa619ded5..d8d841b1a266c60fdb263aa29bd9eb353e744f56 100644 (file)
@@ -301,6 +301,10 @@ config BR2_ARCH_NEEDS_GCC_AT_LEAST_8
        bool
        select BR2_ARCH_NEEDS_GCC_AT_LEAST_7
 
+config BR2_ARCH_NEEDS_GCC_AT_LEAST_9
+       bool
+       select BR2_ARCH_NEEDS_GCC_AT_LEAST_8
+
 # The following string values are defined by the individual
 # Config.in.$ARCH files
 config BR2_ARCH
index 758c843ffec28438fbfab9dfb039ed57fb925730..66c59c66c47017ba0fe71ff5420188eb774868ce 100644 (file)
@@ -75,6 +75,7 @@ config BR2_GCC_VERSION_7_X
 
 config BR2_GCC_VERSION_8_X
        bool "gcc 8.x"
+       depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_9
        # Broken or unsupported architectures
        depends on !BR2_csky
        depends on !BR2_or1k