Makefile: Use cgcc rather than sparse in the check target
commitf228d1f006241e4085a432799356ebd7b1e86108
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Thu, 7 Apr 2011 18:22:18 +0000 (7 19:22 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Apr 2011 17:35:25 +0000 (11 10:35 -0700)
treed83f8275b69ada3bccc0c146b1bfe3cc82fdad45
parentff46a49afadc92bf16ab1ec2dab6d31487de23cb
Makefile: Use cgcc rather than sparse in the check target

cgcc is the recommended way to run sparse, since it provides
many -Defines suitable for the given gcc platform. Using an
"cgcc -no-compile" command runs sparse, with all the platform
specific definitions provided by cgcc, without also invoking
gcc.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile