Commit a3c2d916d8ad67196d2211b0a88dcbab7a433764

Russell Belfer 2013-09-23T21:59:32

Fix warnings in Makefile.embed

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Makefile.embed b/Makefile.embed
index 2f3b057..eb8a78e 100644
--- a/Makefile.embed
+++ b/Makefile.embed
@@ -31,7 +31,7 @@ CC:=$(PREFIX)$(CC)
 INCLUDES= -I. -Isrc -Iinclude -Ideps/http-parser -Ideps/zlib
 
 DEFINES= $(INCLUDES) -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE $(EXTRA_DEFINES)
-CFLAGS= -g $(DEFINES) -Wall -Wextra -O2 $(EXTRA_CFLAGS)
+CFLAGS= -g $(DEFINES) -Wall -Wextra -Wno-missing-field-initializers -O2 $(EXTRA_CFLAGS)
 
 SRCS = $(wildcard src/*.c) $(wildcard src/transports/*.c) $(wildcard src/xdiff/*.c) $(wildcard deps/http-parser/*.c) $(wildcard deps/zlib/*.c) src/hash/hash_generic.c