Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/mips Don't build tf (long double) if building ...
details: https://anonhg.NetBSD.org/src/rev/8f3e5cddf569
branches: trunk
changeset: 767098:8f3e5cddf569
user: matt <matt%NetBSD.org@localhost>
date: Sat Jul 09 04:12:01 2011 +0000
description:
Don't build tf (long double) if building for O32.
diffstat:
lib/libc/arch/mips/Makefile.inc | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r 325551cc6ba2 -r 8f3e5cddf569 lib/libc/arch/mips/Makefile.inc
--- a/lib/libc/arch/mips/Makefile.inc Sat Jul 09 03:16:40 2011 +0000
+++ b/lib/libc/arch/mips/Makefile.inc Sat Jul 09 04:12:01 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.11 2011/07/09 02:30:27 matt Exp $
+# $NetBSD: Makefile.inc,v 1.12 2011/07/09 04:12:01 matt Exp $
.include <bsd.own.mk>
@@ -13,11 +13,13 @@
SRCS+= fixunsgen_ieee754.c fixunssfsi_ieee754.c fixunsdfsi_ieee754.c
SRCS+= fixunsgen64_ieee754.c #fixunssfdi.c fixunsdfdi.c
-.if ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el"
+.if (${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el") \
+ && (!defined(CPUFLAGS) || empty(CPUFLAGS:M-mabi=32))
SRCS+= fixunstfsi_ieee754.c fixunstfdi_ieee754.c
.endif
.endif
-.if ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el"
+.if (${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el") \
+ && (!defined(CPUFLAGS) || empty(CPUFLAGS:M-mabi=32))
SRCS+= floatunditf_ieee754.c
.endif
Home |
Main Index |
Thread Index |
Old Index