scan-build and gcc options

Hi,

Could scan-build be made to call ccc and not clang directly so that
all the options like -mno-red-zone and -ffreestanding are passed along
to clang ?
To use scan-build on the FreeBSD kernel we would really need
-ffreestanding to be passed along to that the right malloc() and
friends are used.

Regards

Hi Pawel,

This can and should be done. I'll look into doing this soon.

Ted