summaryrefslogtreecommitdiff
path: root/ext2ed
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2013-10-11 23:02:12 -0400
committerTheodore Ts'o <tytso@mit.edu>2013-10-11 23:12:40 -0400
commit832cb612f8c1c10525fe438206d4fe5c6d38a4e7 (patch)
tree014824032e81ae89f2f470c7763d128be971fd87 /ext2ed
parent6c327e9ca47fa4e51efe3a6601ad661b8c1a3964 (diff)
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 <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'ext2ed')
-rw-r--r--ext2ed/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext2ed/Makefile.in b/ext2ed/Makefile.in
index b3b606a6..290f06e8 100644
--- a/ext2ed/Makefile.in
+++ b/ext2ed/Makefile.in
@@ -33,6 +33,7 @@ DOCS= doc/ext2ed-design.pdf doc/user-guide.pdf doc/ext2fs-overview.pdf \
.c.o:
$(CC) -c $(ALL_CFLAGS) $< -o $@
+ $(CHECK_CMD) $(ALL_CFLAGS) $<
.SUFFIXES: .sgml .ps .pdf .html