coccicheck: use --all-includes by default
commita9a884aea57b162a3257437b5cbdf8d8037b7c06
authorRené Scharfe <l.s.r@web.de>
Thu, 29 Sep 2016 23:21:17 +0000 (30 01:21 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 30 Sep 2016 03:40:18 +0000 (29 20:40 -0700)
treeecf3df62ed48a0c4796e90309b35c365989bd39e
parent76dd98c13947bd811c1d11d0c63ccdc9a4fb3142
coccicheck: use --all-includes by default

Add a make variable, SPATCH_FLAGS, for specifying flags for spatch, and
set it to --all-includes by default.  This option lets it consider
header files which would otherwise be ignored.  That's important for
some rules that rely on type information.  It doubles the duration of
coccicheck, however.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile