Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/conf make sure we compile mips_fpu.c and fp.S ...



details:   https://anonhg.NetBSD.org/src/rev/1ea17fa908e8
branches:  trunk
changeset: 344440:1ea17fa908e8
user:      macallan <macallan%NetBSD.org@localhost>
date:      Tue Mar 29 18:40:32 2016 +0000

description:
make sure we compile mips_fpu.c and fp.S with -mhard-float

diffstat:

 sys/arch/mips/conf/Makefile.mips |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 4b41d735c28d -r 1ea17fa908e8 sys/arch/mips/conf/Makefile.mips
--- a/sys/arch/mips/conf/Makefile.mips  Tue Mar 29 09:20:28 2016 +0000
+++ b/sys/arch/mips/conf/Makefile.mips  Tue Mar 29 18:40:32 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.mips,v 1.64 2016/03/28 08:10:57 martin Exp $
+#      $NetBSD: Makefile.mips,v 1.65 2016/03/29 18:40:32 macallan Exp $
 
 # Makefile for NetBSD
 #
@@ -58,6 +58,9 @@
 
 CFLAGS+=       -Wa,-msoft-float
 COPTS.mips_fpu.c+=     -Wa,-mhard-float
+.else
+COPTS.mips_fpu.c+=     -mhard-float -Wa,-mhard-float
+AFLAGS.fp.S+=          -Wa,-mhard-float
 .endif
 
 CFLAGS+=       ${GP} -mno-abicalls -msoft-float -ffixed-24



Home | Main Index | Thread Index | Old Index