Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: select KERNEL_WERROR if building with default GCC version
[ during cherry-pick GCC version was changed to default GCC 12 version ] At the moment we have to manually follow the default GCC version also in config/Config-kernel.in. This tends to be forgotten at GCC version bumps (just happened when switching from version 12 to 13). Instead, introduce a hidden Kconfig symbol which implies KERNEL_WERROR in toolchain/gcc/Config.in where it is visible for developers changing the default version. Also remove the explicit default on BUILDBOT to avoid a circular dependency and also because buildbots anyway implicitly always select the default GCC version. Reference: openwrt/openwrt#15064 Signed-off-by: Daniel Golle <[email protected]> Signed-off-by: Petr Štetiar <[email protected]> [GCC 12 default] (cherry picked from commit 501ef81)
- Loading branch information