diff --git a/util/cbfstool/Makefile.inc b/util/cbfstool/Makefile.inc index 95372c2988..5c048486e6 100644 --- a/util/cbfstool/Makefile.inc +++ b/util/cbfstool/Makefile.inc @@ -129,10 +129,10 @@ ifeq ($(shell uname -s | cut -c-7 2>/dev/null), MINGW32) TOOLCFLAGS += -mno-ms-bitfields endif ifeq ($(shell uname -o 2>/dev/null), Cygwin) -TOOLCFLAGS+=-std=gnu99 +TOOLCFLAGS+=-std=gnu11 TOOLCPPFLAGS+=-D_GNU_SOURCE else -TOOLCFLAGS+=-std=c99 +TOOLCFLAGS+=-std=c11 endif $(objutil)/cbfstool/%.o: $(objutil)/cbfstool/%.c