diff mbox series

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

Message ID 20210815105119.3035569-5-stijn@linux-ipv6.be
State Accepted
Delegated to: Stijn Tintel
Headers show
Series use binutils 2.36.1 and gcc 10 by default | expand

Commit Message

Stijn Tintel Aug. 15, 2021, 10:51 a.m. UTC
Runtime-tested on:
* ath79
* bcm27xx/bcm2708
* bcm27xx/bcm2709
* bcm27xx/bcm2711
* mvebu/cortexa53
* octeon
* realtek
* x86/64

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
---
 toolchain/gcc/Config.in      |  2 +-
 toolchain/gcc/Config.version | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)
diff mbox series

Patch

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