diff options
author | 2018-05-11 11:58:59 +0000 | |
---|---|---|
committer | 2018-05-11 11:58:59 +0000 | |
commit | 62e663e4f2e7c2296221957711904713e05cc98d (patch) | |
tree | d24e6304538ba7e3c9459d817b4348fad02ca410 | |
parent | Emphasise that -w implicitly sets Tunnel=point-to-point and that users (diff) | |
download | wireguard-openbsd-62e663e4f2e7c2296221957711904713e05cc98d.tar.xz wireguard-openbsd-62e663e4f2e7c2296221957711904713e05cc98d.zip |
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@
-rw-r--r-- | sys/arch/armv7/stand/efiboot/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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 |