Module Name:    src
Committed By:   macallan
Date:           Tue Mar 29 18:40:32 UTC 2016

Modified Files:
        src/sys/arch/mips/conf: Makefile.mips

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


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/mips/conf/Makefile.mips

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

Modified files:

Index: src/sys/arch/mips/conf/Makefile.mips
diff -u src/sys/arch/mips/conf/Makefile.mips:1.64 src/sys/arch/mips/conf/Makefile.mips:1.65
--- src/sys/arch/mips/conf/Makefile.mips:1.64	Mon Mar 28 08:10:57 2016
+++ src/sys/arch/mips/conf/Makefile.mips	Tue Mar 29 18:40:32 2016
@@ -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 @@ GP?=		${DEFGP}
 
 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

Reply via email to