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

LEDE Commits lede-commits at lists.infradead.org
Wed Aug 18 10:49:36 PDT 2021


stintel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/6d0cefcf426724c1b0a6a9481a6596e9616122a6

commit 6d0cefcf426724c1b0a6a9481a6596e9616122a6
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Thu May 13 19:45:48 2021 +0300

    toolchain/gcc: switch to version 10 by default
    
    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>
    Acked-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 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



More information about the lede-commits mailing list