Re: [PATCH -next v21 23/27] riscv: detect assembler support for .option arch

Eric Biggers
2024-01-21T18:10:16Z

On Sun, Jan 21, 2024 at 10:32:59PM +0800, Andy Chiu wrote:
>
> Maybe what we really should do is to upgrade the condition check to a
> one liner shell script and grep if "Warning" is being printed. Sadly
> this warning is not failing the compilation with -Werror.
>
> I can try forming a patch on this if it feels alright to people.

What about -Wa,--fatal-warnings ?

- Eric