summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/Config.version
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc/Config.version')
-rw-r--r--toolchain/gcc/Config.version5
1 files changed, 5 insertions, 0 deletions
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index 54bb4445b3..fe956d65b7 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -12,3 +12,8 @@ config GCC_VERSION
default "11.3.0" if GCC_VERSION_11
default "12.3.0" if GCC_VERSION_12
default "13.2.0"
+
+config GCC_USE_DEFAULT_VERSION
+ bool
+ default y if !TOOLCHAINOPTS || GCC_USE_VERSION_13
+ imply KERNEL_WERROR