Messages in this thread | | | Subject | Re: [PATCH] kbuild: Add extra gcc checks | From | Joe Perches <> | Date | Sun, 20 Feb 2011 12:00:47 -0800 |
| |
On Sun, 2011-02-20 at 20:39 +0100, Borislav Petkov wrote: > diff --git a/scripts/Makefile.build b/scripts/Makefile.build > +# make W=1 settings > +ifdef KBUILD_ENABLE_EXTRA_GCC_CHECKS
ifeq ($(KBUILD_ENABLE_EXTRA_GCC_CHECKS),1)
> +EXTRA_CFLAGS += -Wextra -Wno-unused
Why add -Wno-unused ?
If it's because of verbosity, maybe
ifeq ($(KBUILD_ENABLE_EXTRA_GCC_CHECKS),2) EXTRA_CFLAGS += -Wunused endif
| |