Werner Zeh (werner.zeh@siemens.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11779
-gerrit
commit f03d757bfb85af6ac4c70a6bc10a3dd949dee009 Author: Werner Zeh werner.zeh@siemens.com Date: Fri Oct 2 09:56:32 2015 +0200
cbfstool: Allow anonymous structs/unions for older gcc versions
Older gcc versions throws a warning when a struct or union is declared without a valid name (anonymous). This patch enables the feature for older gcc versions so that no warning will be issued.
Change-Id: Idc5481f4d5723c5090a6f7d7dbb0686a737e11fc Signed-off-by: Werner Zeh werner.zeh@siemens.com --- util/cbfstool/Makefile.inc | 1 + 1 file changed, 1 insertion(+)
diff --git a/util/cbfstool/Makefile.inc b/util/cbfstool/Makefile.inc index 4994757..32c9282 100644 --- a/util/cbfstool/Makefile.inc +++ b/util/cbfstool/Makefile.inc @@ -60,6 +60,7 @@ TOOLCPPFLAGS += -DNEED_VB2_SHA_LIBRARY TOOLCPPFLAGS += -I$(top)/3rdparty/vboot/firmware/include TOOLCPPFLAGS += -I$(top)/3rdparty/vboot/firmware/2lib/include TOOLLDFLAGS ?= +HOSTCFLAGS += -fms-extensions
ifeq ($(shell uname -s | cut -c-7 2>/dev/null), MINGW32) TOOLCFLAGS += -mno-ms-bitfields