diff options
author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2025-08-14 12:14:41 +0200 |
---|---|---|
committer | Nathan Chancellor <nathan@kernel.org> | 2025-08-14 11:20:58 -0700 |
commit | f852ce052a8b78d6fade371bd1fad583541e78fa (patch) | |
tree | 0b6b8134f39eaf350339e2d24a5bf4d73153122e /scripts | |
parent | b8d762c9830538c743066cbfb1f8c8a40f8e9d58 (diff) |
kbuild: align W=e with CONFIG_WERROR
CONFIG_WERROR sets KBUILD_CPPFLAGS while W=e would only set KBUILD_CFLAGS.
As a preparation to unify the two mechanism, align their effects.
While at it, add some alignment whitespace to prepare for later additions
to the list of changed variables.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Link: https://lore.kernel.org/r/20250814-kbuild-werror-v2-1-c01e596309d2@linutronix.de
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.extrawarn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn index dca175fffcab..4b4e8e136ce6 100644 --- a/scripts/Makefile.extrawarn +++ b/scripts/Makefile.extrawarn @@ -218,6 +218,6 @@ endif # ifneq ($(findstring e, $(KBUILD_EXTRA_WARN)),) -KBUILD_CFLAGS += -Werror +KBUILD_CPPFLAGS += -Werror endif |