diff options
author | Petr Štetiar <ynezz@true.cz> | 2023-05-24 09:46:45 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-07-04 07:14:22 +0200 |
commit | ce8c639a6c539534be14a540e7c3e9933d3a34ef (patch) | |
tree | 5f261f2547bf861a8b1a30f46ae79ee94d75c1c2 /target/linux/generic/config-6.1 | |
parent | 816933bee6e6b68156f6aeea083117208bf859f8 (diff) |
kernel: introduce KERNEL_WERROR config option
In commit b2d1eb717b65 ("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 <ynezz@true.cz>
Diffstat (limited to 'target/linux/generic/config-6.1')
-rw-r--r-- | target/linux/generic/config-6.1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/config-6.1 b/target/linux/generic/config-6.1 index 956738afe8..8bf9d4a3d8 100644 --- a/target/linux/generic/config-6.1 +++ b/target/linux/generic/config-6.1 @@ -7731,7 +7731,7 @@ CONFIG_WATCHDOG_OPEN_TIMEOUT=0 # CONFIG_WD80x3 is not set # CONFIG_WDAT_WDT is not set # CONFIG_WDTPCI is not set -CONFIG_WERROR=y +# CONFIG_WERROR is not set # CONFIG_WEXT_CORE is not set # CONFIG_WEXT_PRIV is not set # CONFIG_WEXT_PROC is not set |