config: fix CONFIG_GDB appearing in main menuconfig menu
[openwrt/staging/stintel.git] / toolchain / gcc / Config.version
index 54bb4445b3d127dc54ce6e6b43c1587d5e310fd4..fe956d65b7736a47b3287f8559601bcc64135cfc 100644 (file)
@@ -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