From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbMYv-00084u-FJ for barebox@lists.infradead.org; Wed, 20 May 2020 11:07:03 +0000 Date: Wed, 20 May 2020 13:06:59 +0200 From: Sascha Hauer Message-ID: <20200520110659.GZ11869@pengutronix.de> References: <20200518145600.119548-1-masahiroy@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200518145600.119548-1-masahiroy@kernel.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] kbuild: add -std=gnu89 to KBUILD_CFLAGS To: Masahiro Yamada Cc: barebox@lists.infradead.org On Mon, May 18, 2020 at 11:56:00PM +0900, Masahiro Yamada wrote: > Barebox imports lots of code from Linux, so should use the same > language standard as Linux. > > Signed-off-by: Masahiro Yamada > --- > > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks Sascha > > diff --git a/Makefile b/Makefile > index 7a620b504..d477494d6 100644 > --- a/Makefile > +++ b/Makefile > @@ -416,7 +416,7 @@ KBUILD_CPPFLAGS := -D__KERNEL__ -D__BAREBOX__ $(LINUXINCLUDE) -fno-builti > KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \ > -fno-strict-aliasing -fno-common \ > -Werror=implicit-function-declaration -Werror=implicit-int \ > - -Os -pipe -Wmissing-prototypes > + -Os -pipe -Wmissing-prototypes -std=gnu89 > KBUILD_AFLAGS := -D__ASSEMBLY__ > > LDFLAGS_barebox := -Map barebox.map > -- > 2.25.1 > > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox