On 2014/04/14 19:40, Jonathan Gray wrote:
> sparse is a c frontend and a static analysis backend.
> 
> With the following diff to cdefs.h it can be used in a similiar
> way to scan-build by setting CC=cgcc.
> 
> The llvm backend and the gtk ast inspector are disabled in the port.

The easy comment is that NO_TEST=Yes is also needed.

The tough one - this is rather unfortunate:

./lib.c:static const char *gcc_base_dir = GCC_BASE;

GCC_BASE = $(shell $(CC) --print-file-name=)

.. because it will need bumping at release time, but it doesn't
make it anywhere that would trigger PLIST_DB into noticing.
Not sure the best way to handle this..


Reply via email to