|
@@ -62,6 +62,19 @@ config BR2_GCC_VERSION_11_X
|
|
depends on !BR2_archs4x_rel31
|
|
depends on !BR2_archs4x_rel31
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_11
|
|
select BR2_TOOLCHAIN_GCC_AT_LEAST_11
|
|
|
|
|
|
|
|
+config BR2_GCC_VERSION_12_X
|
|
|
|
+ bool "gcc 12.x"
|
|
|
|
+ # 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
|
|
|
|
+ # uClibc-ng broken on sparc due to recent gcc changes
|
|
|
|
+ # that need to be reverted since gcc 8.4, 9.3 and 10.1.
|
|
|
|
+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784
|
|
|
|
+ depends on !BR2_sparc
|
|
|
|
+ # ARC HS48 rel 31 only supported by gcc arc fork.
|
|
|
|
+ depends on !BR2_archs4x_rel31
|
|
|
|
+ select BR2_TOOLCHAIN_GCC_AT_LEAST_12
|
|
|
|
+
|
|
endchoice
|
|
endchoice
|
|
|
|
|
|
# libcilkrts was introduced in gcc 4.9 and removed in gcc 8.x
|
|
# libcilkrts was introduced in gcc 4.9 and removed in gcc 8.x
|
|
@@ -88,6 +101,7 @@ config BR2_GCC_VERSION
|
|
default "9.4.0" if BR2_GCC_VERSION_9_X
|
|
default "9.4.0" if BR2_GCC_VERSION_9_X
|
|
default "10.3.0" if BR2_GCC_VERSION_10_X
|
|
default "10.3.0" if BR2_GCC_VERSION_10_X
|
|
default "11.3.0" if BR2_GCC_VERSION_11_X
|
|
default "11.3.0" if BR2_GCC_VERSION_11_X
|
|
|
|
+ default "12.1.0" if BR2_GCC_VERSION_12_X
|
|
default "arc-2020.09-release" if BR2_GCC_VERSION_ARC
|
|
default "arc-2020.09-release" if BR2_GCC_VERSION_ARC
|
|
|
|
|
|
config BR2_EXTRA_GCC_CONFIG_OPTIONS
|
|
config BR2_EXTRA_GCC_CONFIG_OPTIONS
|