handle clang's option "-meabi gnu"
commit99a5645a0edbafac8eb667e0f341a73bebb5f34d
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Mon, 23 May 2022 08:55:03 +0000 (23 10:55 +0200)
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Sun, 22 May 2022 09:39:27 +0000 (22 11:39 +0200)
tree1cfde6d757adff168125ae4b7023ca6a90a6a966
parentb3d7fb1bac881a714fed871db33e98e67b9bf1b6
handle clang's option "-meabi gnu"

Clang has an option "-meabi <arg>" which is used by the kernel for ARMv7.
This kind of option, taking a argument without a separating '=', can't
be ignored like most other options and must this be special-cased.

So, add the special case for this option and consume the argument if it's
one of the valid one.

Link: https://lore.kernel.org/r/20220331110118.vr4miyyytqlssjoi@pengutronix.de
Reported-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
options.c