# Re: \[PATCH\] powerpc: xor\_vmx: Add '-mhard-float' to CFLAGS

- From: Michael Ellerman \<hidden\>
- Date: 2024-03-13 13:27:59 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2024/03/6997672
- Thread: https://ratatoskr.run/linuxppc-dev/2024/01/6989498/t.md

```text
On Sat, 27 Jan 2024 11:07:43 -0700, Nathan Chancellor wrote:
> arch/powerpc/lib/xor_vmx.o is built with '-msoft-float' (from the main
> powerpc Makefile) and '-maltivec' (from its CFLAGS), which causes an
> error when building with clang after a recent change in main:
> 
>   error: option '-msoft-float' cannot be specified with '-maltivec'
>   make[6]: *** [scripts/Makefile.build:243: arch/powerpc/lib/xor_vmx.o] Error 1
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc: xor_vmx: Add '-mhard-float' to CFLAGS
      https://git.kernel.org/powerpc/c/35f20786c481d5ced9283ff42de5c69b65e5ed13

cheers
```
