]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
toolchain: gcc: switch default to 14 18597/head
authorRobert Marko <robimarko@gmail.com>
Fri, 25 Apr 2025 13:02:24 +0000 (15:02 +0200)
committerRobert Marko <robimarko@gmail.com>
Tue, 29 Apr 2025 10:27:32 +0000 (12:27 +0200)
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>
toolchain/gcc/Config.in
toolchain/gcc/Config.version

index b306040f6aac3ccec5022bcc616c93f19460df81..9912b58eb392bf889e103301a979c0217a162834 100644 (file)
@@ -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.
 
index 49bb36865eebb9d885cb97bddfbc84dcceb4705a..0cfbf615ba567c5b9a96c048e5bd5947859ad629 100644 (file)
@@ -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