Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/lgpl3/mpfr/lib/libmpfr make this build on vax.
details: https://anonhg.NetBSD.org/src/rev/686c2af28924
branches: trunk
changeset: 766813:686c2af28924
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Jul 02 14:08:45 2011 +0000
description:
make this build on vax.
XXX: need to check this for platforms besides x86 and sparc64 to see
XXX: if HAVE_LDOUBLE_IEEE_EXT_LITTLE or friends should be defined.
diffstat:
external/lgpl3/mpfr/lib/libmpfr/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r bffff19f686d -r 686c2af28924 external/lgpl3/mpfr/lib/libmpfr/Makefile
--- a/external/lgpl3/mpfr/lib/libmpfr/Makefile Sat Jul 02 14:06:42 2011 +0000
+++ b/external/lgpl3/mpfr/lib/libmpfr/Makefile Sat Jul 02 14:08:45 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2011/07/01 01:30:16 mrg Exp $
+# $NetBSD: Makefile,v 1.4 2011/07/02 14:08:45 mrg Exp $
.include <bsd.init.mk>
@@ -470,6 +470,7 @@
-DHAVE_CEIL=1 \
-DHAVE_ATTRIBUTE_MODE=1
+# XXX XXX do something more, more ports!!
.if ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "i386"
CPPFLAGS+= -DHAVE_LDOUBLE_IEEE_EXT_LITTLE=1
.endif
@@ -488,3 +489,7 @@
${SRCS}: mparam.h
.PATH: ${.CURDIR}/../../dist
+
+.if ${MACHINE_ARCH} == "vax"
+COPTS.set_ld.c+= -Wno-error
+.endif
Home |
Main Index |
Thread Index |
Old Index