Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/stand/efiboot/bootarm Add -mfloat-abi=soft so that gcc 8...
details: https://anonhg.NetBSD.org/src/rev/8427e65c9377
branches: trunk
changeset: 1006165:8427e65c9377
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Jan 03 11:44:33 2020 +0000
description:
Add -mfloat-abi=soft so that gcc 8 doesn't emit FP instructions. This
fixes bootarm.efi compiled by gcc 8.
diffstat:
sys/stand/efiboot/bootarm/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r fc539281483f -r 8427e65c9377 sys/stand/efiboot/bootarm/Makefile
--- a/sys/stand/efiboot/bootarm/Makefile Fri Jan 03 10:01:07 2020 +0000
+++ b/sys/stand/efiboot/bootarm/Makefile Fri Jan 03 11:44:33 2020 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index