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 leave the part for GCC >= 5.3 in.
details: https://anonhg.NetBSD.org/src/rev/cf4f94d4ad9a
branches: trunk
changeset: 351690:cf4f94d4ad9a
user: maya <maya%NetBSD.org@localhost>
date: Wed Feb 22 13:34:39 2017 +0000
description:
leave the part for GCC >= 5.3 in.
Was a little over-eager and accidentally removed the else case.
diffstat:
sys/arch/mips/conf/Makefile.mips | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 9990bc9f6e05 -r cf4f94d4ad9a sys/arch/mips/conf/Makefile.mips
--- a/sys/arch/mips/conf/Makefile.mips Wed Feb 22 13:17:29 2017 +0000
+++ b/sys/arch/mips/conf/Makefile.mips Wed Feb 22 13:34:39 2017 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index