From 22812c2e6484796e7e91d257842bf77f8a441c94 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Sun, 13 Mar 2022 17:07:25 +0800 Subject: [PATCH] toolchain/gcc: switch to version 11 by default Signed-off-by: Tianling Shen --- toolchain/gcc/Config.in | 2 +- toolchain/gcc/Config.version | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in index d9fa4278a5..357589e172 100644 --- a/toolchain/gcc/Config.in +++ b/toolchain/gcc/Config.in @@ -2,7 +2,7 @@ choice prompt "GCC compiler Version" if TOOLCHAINOPTS - default GCC_USE_VERSION_8 + default GCC_USE_VERSION_11 help Select the version of gcc you wish to use. diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version index f517ca12ae..61506b670b 100644 --- a/toolchain/gcc/Config.version +++ b/toolchain/gcc/Config.version @@ -1,13 +1,13 @@ +config GCC_VERSION_8 + default y if GCC_USE_VERSION_8 + bool + config GCC_VERSION_10 default y if GCC_USE_VERSION_10 bool -config GCC_VERSION_11 - default y if GCC_USE_VERSION_11 - bool - config GCC_VERSION string + default "8.4.0" if GCC_VERSION_8 default "10.3.0" if GCC_VERSION_10 - default "11.2.0" if GCC_VERSION_11 - default "8.4.0" + default "11.2.0"