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>
This commit is contained in:
James Bottomley 2020-06-06 15:08:01 -07:00
parent e3f7d27541
commit ff96a59046
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ AM_CFLAGS = -Wall -Wextra --std=gnu99
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)