config: select KERNEL_WERROR if building with default GCC version
[openwrt/staging/stintel.git] / config / Config-kernel.in
index f4ea6ccbe809d16af457ffcd963c9a02aa066a36..feabf0870e50c7a95164fca3fa5f2c48506c7987 100644 (file)
@@ -1418,8 +1418,6 @@ config KERNEL_JFFS2_FS_SECURITY
 
 config KERNEL_WERROR
        bool "Compile the kernel with warnings as errors"
-       default BUILDBOT
-       default y if GCC_USE_VERSION_12
        help
          A kernel build should not cause any compiler warnings, and this
          enables the '-Werror' (for C) and '-Dwarnings' (for Rust) flags