cgcc: do not die on '-x assembler'
commit29083a76efa600b02d30f32d0393ae53e37887f8
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Mon, 6 Jun 2022 20:23:51 +0000 (6 22:23 +0200)
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Mon, 6 Jun 2022 20:40:23 +0000 (6 22:40 +0200)
tree28cfa31234b98b9a7b495c09cac7cad5888cf81e
parentb3cf30ba5b47dfa7414416fe3bc5ae34db6065e7
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 <trix@redhat.com>
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
cgcc