Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel: introduce KERNEL_WERROR config option
In commit b2d1eb7 ("generic: 5.15: enable Werror by default for kernel compile") CONFIG_WERROR=y was enabled and all warnings/errors reported with GCC 12 were fixed. Keeping this in sync with past/future GCC versions is going to be uphill battle, so lets introduce new KERNEL_WERROR config option, enable it by default only for tested/known working combinations and on buildbots. References: #12687 Signed-off-by: Petr Štetiar <[email protected]> (cherry picked from commit ce8c639)
- Loading branch information