Re: [kvm-unit-tests PATCH v2] Makefile: Use CFLAGS in cc-option

2025-04-08 Thread Andrew Jones
On Fri, Mar 07, 2025 at 10:18:29AM +0100, Andrew Jones wrote: > When cross compiling with clang we need to specify the target in > CFLAGS and cc-option will fail to recognize target-specific options > without it. Add CFLAGS to the CC invocation in cc-option. > > The introduction of the realmode_bi

Re: [kvm-unit-tests PATCH v2] Makefile: Use CFLAGS in cc-option

2025-03-13 Thread Alexandru Elisei
Hi Drew, Thank you for debugging this. I tested the patch by compiling the MTE test from Vladimir with clang and it works now: Tested-by: Alexandru Elisei Thanks, Alex On Fri, Mar 07, 2025 at 10:18:29AM +0100, Andrew Jones wrote: > When cross compiling with clang we need to specify the target

Re: [kvm-unit-tests PATCH v2] Makefile: Use CFLAGS in cc-option

2025-03-13 Thread Thomas Huth
On 07/03/2025 10.18, Andrew Jones wrote: When cross compiling with clang we need to specify the target in CFLAGS and cc-option will fail to recognize target-specific options without it. Add CFLAGS to the CC invocation in cc-option. The introduction of the realmode_bits variable is necessary to a

[kvm-unit-tests PATCH v2] Makefile: Use CFLAGS in cc-option

2025-03-07 Thread Andrew Jones
When cross compiling with clang we need to specify the target in CFLAGS and cc-option will fail to recognize target-specific options without it. Add CFLAGS to the CC invocation in cc-option. The introduction of the realmode_bits variable is necessary to avoid make failing to build x86 due to CFLAG