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

Eric Biggers ebiggers at kernel.org
Sun Jan 21 10:10:09 PST 2024


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



More information about the kvm-riscv mailing list