Module Name: src
Committed By: maya
Date: Wed Feb 22 13:34:39 UTC 2017
Modified Files:
src/sys/arch/mips/conf: Makefile.mips
Log Message:
leave the part for GCC >= 5.3 in.
Was a little over-eager and accidentally removed the else case.
To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 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.66 src/sys/arch/mips/conf/Makefile.mips:1.67
--- src/sys/arch/mips/conf/Makefile.mips:1.66 Wed Feb 22 13:17:29 2017
+++ src/sys/arch/mips/conf/Makefile.mips Wed Feb 22 13:34:39 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.mips,v 1.66 2017/02/22 13:17:29 maya Exp $
+# $NetBSD: Makefile.mips,v 1.67 2017/02/22 13:34:39 maya Exp $
# Makefile for NetBSD
#
@@ -47,6 +47,11 @@ CPPFLAGS+= -D${MACHINE}
DEFGP?= -G 0
GP?= ${DEFGP}
+.if ${ACTIVE_CC} == "gcc"
+COPTS.mips_fpu.c+= -mhard-float -Wa,-mhard-float
+AFLAGS.fp.S+= -Wa,-mhard-float
+.endif
+
CFLAGS+= ${GP} -mno-abicalls -msoft-float -ffixed-24
.if defined(LP64) && ${LP64} == "yes"
.if ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el"