[openwrt/openwrt] toolchain: gcc: switch default to 14
LEDE Commits
lede-commits at lists.infradead.org
Tue Apr 29 03:27:38 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/5c8301e80032b17cc1f3e1f923f3198bb673dea0
commit 5c8301e80032b17cc1f3e1f923f3198bb673dea0
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Fri Apr 25 15:02:24 2025 +0200
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 at gmail.com>
---
toolchain/gcc/Config.in | 2 +-
toolchain/gcc/Config.version | 10 +++++-----
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
More information about the lede-commits
mailing list