diff --git a/sys/boot/efi/fdt/Makefile b/sys/boot/efi/fdt/Makefile index 8d008e25b689..19a4c49f0d5f 100644 --- a/sys/boot/efi/fdt/Makefile +++ b/sys/boot/efi/fdt/Makefile @@ -10,7 +10,7 @@ INTERNALLIB= SRCS= efi_fdt.c CFLAGS+= -ffreestanding -msoft-float -.if ${MACHINE_CPUARCH} == "arm64" +.if ${MACHINE_CPUARCH} == "aarch64" CFLAGS+= -mgeneral-regs-only .endif