diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-05-18 23:56:00 +0900 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-05-20 13:06:49 +0200 |
commit | b9c2b5c1b4bc6775613164f7b5a0dd583a8032f8 (patch) | |
tree | 668f6bfc72c2073ab2acee6de974c64920d24285 /Makefile | |
parent | c10b20dc83ac25b1d81c39eaad4529d9911813b1 (diff) | |
download | barebox-b9c2b5c1b4bc6775613164f7b5a0dd583a8032f8.tar.gz barebox-b9c2b5c1b4bc6775613164f7b5a0dd583a8032f8.tar.xz |
kbuild: add -std=gnu89 to KBUILD_CFLAGS
Barebox imports lots of code from Linux, so should use the same
language standard as Linux.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |