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

Michael Ellerman mpe at ellerman.id.au
Tue Apr 9 18:57:56 AEST 2024


Nathan Chancellor <nathan at kernel.org> 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


More information about the Linuxppc-dev mailing list