Module Name:    src
Committed By:   skrll
Date:           Fri Jan  3 11:44:33 UTC 2020

Modified Files:
        src/sys/stand/efiboot/bootarm: Makefile

Log Message:
Add -mfloat-abi=soft so that gcc 8 doesn't emit FP instructions.  This
fixes bootarm.efi compiled by gcc 8.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/stand/efiboot/bootarm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/stand/efiboot/bootarm/Makefile
diff -u src/sys/stand/efiboot/bootarm/Makefile:1.2 src/sys/stand/efiboot/bootarm/Makefile:1.3
--- src/sys/stand/efiboot/bootarm/Makefile:1.2	Mon Sep 23 13:42:37 2019
+++ src/sys/stand/efiboot/bootarm/Makefile	Fri Jan  3 11:44:33 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2019/09/23 13:42:37 christos Exp $
+# $NetBSD: Makefile,v 1.3 2020/01/03 11:44:33 skrll Exp $
 
 PROG=		bootarm.efi
 OBJFMT=		binary
@@ -9,7 +9,7 @@ LIBGNUEFI_ARCH=	arm
 EXTRA_SOURCES=	efibootarm.c
 EXTRA_SOURCES+=	cache.S
 
-COPTS+=		-mno-unaligned-access -ffreestanding -fno-unwind-tables
+COPTS+=		-mfloat-abi=soft -mno-unaligned-access -ffreestanding -fno-unwind-tables
 CFLAGS+=	-DEFIBOOT_ALIGN=0x1000000
 LDFLAGS+=	-N
 

Reply via email to