[PATCH 4/6] toolchain/gcc: switch to version 10 by default

Stijn Tintel stijn at linux-ipv6.be
Sun Aug 15 03:51:17 PDT 2021


Runtime-tested on:
* ath79
* bcm27xx/bcm2708
* bcm27xx/bcm2709
* bcm27xx/bcm2711
* mvebu/cortexa53
* octeon
* realtek
* x86/64

Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
---
 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 5ac93217f8..4b25c85016 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_10
 	help
 	  Select the version of gcc you wish to use.
 
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index dd61d1e210..608de37317 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -2,12 +2,12 @@ config GCC_VERSION_7
 	default y if GCC_USE_VERSION_7
 	bool
 
-config GCC_VERSION_9
-	default y if GCC_USE_VERSION_9
+config GCC_VERSION_8
+	default y if GCC_USE_VERSION_8
 	bool
 
-config GCC_VERSION_10
-	default y if GCC_USE_VERSION_10
+config GCC_VERSION_9
+	default y if GCC_USE_VERSION_9
 	bool
 
 config GCC_VERSION_11
@@ -17,10 +17,10 @@ config GCC_VERSION_11
 config GCC_VERSION
 	string
 	default "7.5.0"		if GCC_VERSION_7
+	default "8.4.0"		if GCC_VERSION_8
 	default "9.3.0"		if GCC_VERSION_9
-	default "10.3.0"	if GCC_VERSION_10
 	default "11.2.0"	if GCC_VERSION_11
-	default "8.4.0"
+	default "10.3.0"
 
 config GCC_USE_IREMAP
 	bool
-- 
2.31.1




More information about the openwrt-devel mailing list