From: Thomas Weißschuh Date: Thu, 14 Aug 2025 10:14:41 +0000 (+0200) Subject: kbuild: align W=e with CONFIG_WERROR X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f852ce052a8b78d6fade371bd1fad583541e78fa;p=users%2Fhch%2Fmisc.git 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 Reviewed-by: Nicolas Schier Link: https://lore.kernel.org/r/20250814-kbuild-werror-v2-1-c01e596309d2@linutronix.de Signed-off-by: Nathan Chancellor --- 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