From a5394d9445c47cad29d736d03b6285ec1f3b3ad3 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Fri, 11 May 2018 11:59:00 +0000 Subject: Compile the EFI bootloader with -mfloat-abi=soft to prevent the compiler from using FPU instructions. Makes the bootloader work again after we switched clang to use -mfloat-abi=softfp by default. ok jsg@, patrick@ --- sys/arch/armv7/stand/efiboot/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch') diff --git a/sys/arch/armv7/stand/efiboot/Makefile b/sys/arch/armv7/stand/efiboot/Makefile index 8e7fd60f062..852a5f5fc22 100644 --- a/sys/arch/armv7/stand/efiboot/Makefile +++ b/sys/arch/armv7/stand/efiboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2018/03/31 18:19:12 patrick Exp $ +# $OpenBSD: Makefile,v 1.10 2018/05/11 11:58:59 kettenis Exp $ NOMAN= # @@ -48,6 +48,7 @@ CPPFLAGS+= -DNEEDS_HEAP_H COPTS+= -ffreestanding -fno-stack-protector COPTS+= -fshort-wchar -fPIC -fno-builtin COPTS+= -Wall -Werror +COPTS+= -mfloat-abi=soft PROG.elf= ${PROG:S/.EFI/.elf/} CLEANFILES+= ${PROG.elf} ${PROG.elf}.tmp -- cgit v1.2.3