diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2024-04-03 15:05:39 +0200 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2024-10-02 09:19:15 +0000 |
commit | 00783211c06419ec984f8b47115267e5af9104e9 (patch) | |
tree | 6e7d4754303c2a9dd83595e37930522ea523be94 /toolchain.mk | |
parent | 8eb59d8122d2e0b27760e98133731ede159f229f (diff) |
arch/arm64: Use -mno-implicit-float with clang
This fixes building inline assembly that uses SIMD registers. This is
for instance the case in the vboot library.
Change-Id: I24fa9d9f81430ea3ecd40de4304a10c6e235fece
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81658
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'toolchain.mk')
-rw-r--r-- | toolchain.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain.mk b/toolchain.mk index f985e8843a..77fb46eb69 100644 --- a/toolchain.mk +++ b/toolchain.mk @@ -60,7 +60,7 @@ ARCHDIR-riscv := riscv ARCHDIR-ppc64 := ppc64 CFLAGS_arm += -CFLAGS_arm64 += -mgeneral-regs-only +CFLAGS_arm64 += CFLAGS_riscv += CFLAGS_x86_32 += CFLAGS_x86_64 += -mcmodel=large -mno-red-zone |