Enable -Werror for builds
Now that all the build warnings are eliminated, make sure they don't
come back
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
diff --git a/src/Makefile.am b/src/Makefile.am
index 19a7766..e3f039b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -7,7 +7,7 @@
common_SOURCES = idc.c idc.h image.c image.h fileio.c fileio.h \
efivars.h $(coff_headers)
common_LDADD = ../lib/ccan/libccan.a $(libcrypto_LIBS)
-common_CFLAGS = -I$(top_srcdir)/lib/ccan/
+common_CFLAGS = -I$(top_srcdir)/lib/ccan/ -Werror
sbsign_SOURCES = sbsign.c $(common_SOURCES)
sbsign_LDADD = $(common_LDADD)