Просмотр исходного кода

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 <[email protected]>
Robert Marko 8 месяцев назад
Родитель
Сommit
5c8301e800
2 измененных файлов с 6 добавлено и 6 удалено
  1. 1 1
      toolchain/gcc/Config.in
  2. 5 5
      toolchain/gcc/Config.version

+ 1 - 1
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.
 

+ 5 - 5
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