[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <10763.1304349435@localhost>
Date: Mon, 02 May 2011 11:17:15 -0400
From: Valdis.Kletnieks@...edu
To: Michal Marek <mmarek@...e.cz>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
Dave Jones <davej@...hat.com>, linux-next@...r.kernel.org,
linux-kernel@...r.kernel.org, Sam Ravnborg <sam@...nborg.org>
Subject: Re: linux-next: build warning after merge of the kbuild tree
On Mon, 02 May 2011 13:13:37 +0200, Michal Marek said:
> +# We test for support of the -Wunused-but-set-variable option, because
> +# some version of gcc will happily accept any -Wno-* switch and complain
> +# later during build.
> +ifeq ($(call cc-option-yn, -Wunused-but-set-variable), y)
> +KBUILD_CFLAGS += -Wno-unused-but-set-variable
> +endif
Do we need to do this more generically for all the other -Wno-foo
options under the various W={123} options?
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists