From 832cb612f8c1c10525fe438206d4fe5c6d38a4e7 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Fri, 11 Oct 2013 23:02:12 -0400 Subject: e2fsprogs: add (optional) sparse checking to the build Run sparse against source files when building e2fsprogs with 'make C=1'. If instead C=2, it configures basic ext2 types for bitwise checking with sparse, which can help find the (many many) spots where conversion errors are (possibly) happening. Signed-off-by: Darrick J. Wong Signed-off-by: "Theodore Ts'o" --- util/Makefile.in | 1 + 1 file changed, 1 insertion(+) (limited to 'util/Makefile.in') diff --git a/util/Makefile.in b/util/Makefile.in index adf0b461..76c3f88a 100644 --- a/util/Makefile.in +++ b/util/Makefile.in @@ -16,6 +16,7 @@ SRCS = $(srcdir)/subst.c .c.o: $(E) " CC $<" $(Q) $(BUILD_CC) -c $(BUILD_CFLAGS) $< -o $@ + $(Q) $(CHECK_CMD) $(ALL_CFLAGS) $< PROGS= subst symlinks -- cgit v1.2.3