On Mon, 4 May 2026 at 16:20, Quentin Schulz <[email protected]> wrote: > > From: Quentin Schulz <[email protected]> > > [ Upstream commit f852ce052a8b78d6fade371bd1fad583541e78fa ] > > Original commit log: > > 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: Quentin Schulz <[email protected]> > ---
Reviewed-by: Ilias Apalodimas <[email protected]> > scripts/Makefile.extrawarn | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn > index b1881d83e06..65954320e0f 100644 > --- a/scripts/Makefile.extrawarn > +++ b/scripts/Makefile.extrawarn > @@ -103,6 +103,6 @@ endif > # > ifneq ($(findstring e, $(KBUILD_EXTRA_WARN)),) > > -KBUILD_CFLAGS += -Werror > +KBUILD_CPPFLAGS += -Werror > > endif > > -- > 2.54.0 >

