cgcc: do not die on '-x assembler'

Currently cgcc will die if the option '-x' is used with any argument
other than 'c'.

It makes sense since sparse can only handle C files but it can be
useful in a project to simply use something like:
	make CC=cgcc

So, instead of die()ing, avoid calling sparse if such '-x' option
is used, like already done by default for non .c files.

Original-patch-by: Tom Rix <>
Signed-off-by: Luc Van Oostenryck <>
1 file changed