Module Name: src
Committed By: mrg
Date: Sat Jul 2 14:08:45 UTC 2011
Modified Files:
src/external/lgpl3/mpfr/lib/libmpfr: Makefile
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/lgpl3/mpfr/lib/libmpfr/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/lgpl3/mpfr/lib/libmpfr/Makefile
diff -u src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.3 src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.4
--- src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.3 Fri Jul 1 01:30:16 2011
+++ src/external/lgpl3/mpfr/lib/libmpfr/Makefile Sat Jul 2 14:08:45 2011
@@ -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