summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi/libefi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/efi/libefi/Makefile')
-rw-r--r--sys/boot/efi/libefi/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/efi/libefi/Makefile b/sys/boot/efi/libefi/Makefile
index 88ca242..d248927 100644
--- a/sys/boot/efi/libefi/Makefile
+++ b/sys/boot/efi/libefi/Makefile
@@ -6,6 +6,9 @@ INTERNALLIB=
SRCS= delay.c efi_console.c efinet.c efipart.c errno.c handles.c \
libefi.c time.c
+.if ${MACHINE_CPUARCH} == "aarch64"
+CFLAGS+= -msoft-float -mgeneral-regs-only
+.endif
.if ${MACHINE_ARCH} == "amd64"
CFLAGS+= -fPIC -mno-red-zone
.endif
OpenPOWER on IntegriCloud