diff options
| author | Darrick J. Wong <darrick.wong@oracle.com> | 2013-10-11 23:02:12 -0400 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2013-10-11 23:12:40 -0400 |
| commit | 832cb612f8c1c10525fe438206d4fe5c6d38a4e7 (patch) | |
| tree | 014824032e81ae89f2f470c7763d128be971fd87 /lib/blkid | |
| parent | 6c327e9ca47fa4e51efe3a6601ad661b8c1a3964 (diff) | |
| download | android_external_e2fsprogs-832cb612f8c1c10525fe438206d4fe5c6d38a4e7.tar.gz android_external_e2fsprogs-832cb612f8c1c10525fe438206d4fe5c6d38a4e7.tar.bz2 android_external_e2fsprogs-832cb612f8c1c10525fe438206d4fe5c6d38a4e7.zip | |
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 'lib/blkid')
| -rw-r--r-- | lib/blkid/Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/blkid/Makefile.in b/lib/blkid/Makefile.in index 0ec8564c..3f15c677 100644 --- a/lib/blkid/Makefile.in +++ b/lib/blkid/Makefile.in @@ -55,6 +55,7 @@ DEPLIBS_BLKID= $(DEPSTATIC_LIBBLKID) $(DEPSTATIC_LIBUUID) .c.o: $(E) " CC $<" $(Q) $(CC) $(ALL_CFLAGS) -c $< -o $@ + $(Q) $(CHECK_CMD) $(ALL_CFLAGS) $< @PROFILE_CMT@ $(Q) $(CC) $(ALL_CFLAGS) -g -pg -o profiled/$*.o -c $< @CHECKER_CMT@ $(Q) $(CC) $(ALL_CFLAGS) -checker -g -o checker/$*.o -c $< @ELF_CMT@ $(Q) $(CC) $(ALL_CFLAGS) -fPIC -o elfshared/$*.o -c $< |
