Subject: Re: [PATCH] powerpc: Fix fatal warnings flag for LLVM's integrated assembler

From: Michael Ellerman <[email-masked]>
Date: Tue, 09 Apr 2024 18:57:56 +1000

Nathan Chancellor <[email-masked]> writes:
> When building with LLVM_IAS=1, there is an error because
> '-fatal-warnings' is not recognized as a valid flag:
>
>   clang: error: unsupported argument '-fatal-warnings' to option '-Wa,'
>
> Use the double hyphen version of the flag, '--fatal-warnings', which
> works with both the GNU assembler and LLVM's integrated assembler.
>
> Fixes: 608d4a5ca563 ("powerpc: Error on assembly warnings")

Thanks.

I guess I need to do some of my clang builds with LLVM_IAS=1 :}

cheers