]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfsprogs: enable sparse checking with make C=1
authorEric Sandeen <sandeen@redhat.com>
Wed, 17 Oct 2018 18:25:11 +0000 (13:25 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 17 Oct 2018 18:25:11 +0000 (13:25 -0500)
commitd4739a5039d8ee0cb41a9c05b5aae27baafb0569
tree0efdc30544a0d5c16c93a94397c54267b99f1552
parent440cb37c740a4dcf459cd772e18b0d2a67df10cb
xfsprogs: enable sparse checking with make C=1

Enable "make C=1" sparse checking when files get rebuilt.  To check
all files, run "make clean" first.

This is a bit simpler than redefining CC for the whole build, which
requires extra commandline definitions and apparently is enough of a
barrier that nobody's doing sparse checking.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Makefile
doc/sparse.txt
include/buildrules