summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Marko2025-04-25 13:02:24 +0000
committerRobert Marko2025-04-29 10:27:32 +0000
commit5c8301e80032b17cc1f3e1f923f3198bb673dea0 (patch)
tree10bda24102c45b589ca0a69146e60e5d0662ef6f
parentddae97e4d82c8c527dd06774926734fc4aa4ba3e (diff)
downloadopenwrt-5c8301e80032b17cc1f3e1f923f3198bb673dea0.tar.gz
toolchain: gcc: switch default to 14
Its time to use GCC14 as the default compiler instead of GCC13. Link: https://github.com/openwrt/openwrt/pull/18597 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--toolchain/gcc/Config.in2
-rw-r--r--toolchain/gcc/Config.version10
2 files changed, 6 insertions, 6 deletions
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index b306040f6a..9912b58eb3 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_13
+ default GCC_USE_VERSION_14
help
Select the version of gcc you wish to use.
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index 49bb36865e..0cfbf615ba 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -6,8 +6,8 @@ config GCC_VERSION_12
default y if GCC_USE_VERSION_12
bool
-config GCC_VERSION_14
- default y if GCC_USE_VERSION_14
+config GCC_VERSION_13
+ default y if GCC_USE_VERSION_13
bool
config GCC_VERSION
@@ -15,10 +15,10 @@ config GCC_VERSION
default EXTERNAL_GCC_VERSION if EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
default "11.3.0" if GCC_VERSION_11
default "12.3.0" if GCC_VERSION_12
- default "14.2.0" if GCC_VERSION_14
- default "13.3.0"
+ default "13.3.0" if GCC_VERSION_13
+ default "14.2.0"
config GCC_USE_DEFAULT_VERSION
bool
- default y if !TOOLCHAINOPTS || GCC_USE_VERSION_13
+ default y if !TOOLCHAINOPTS || GCC_USE_VERSION_14
imply KERNEL_WERROR