tools/Makefile: build host tools with -std=gnu99
[oweals/u-boot.git] / tools / Makefile
index 081383d7a790fde91699b532d962cc6ee9849f8f..d377d85f74e7ae08a992df3ef5a05acb44e0b2a1 100644 (file)
@@ -254,7 +254,8 @@ HOST_EXTRACFLAGS += -include $(srctree)/include/compiler.h \
                -I$(srctree)/tools \
                -DUSE_HOSTCC \
                -D__KERNEL_STRICT_NAMES \
-               -D_GNU_SOURCE
+               -D_GNU_SOURCE \
+               -std=gnu99
 
 __build:       $(LOGO-y)