Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib On Alpha, build libc and libm with -mieee ... A metric c...



details:   https://anonhg.NetBSD.org/src/rev/044919010bfa
branches:  trunk
changeset: 521296:044919010bfa
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Jan 27 21:59:18 2002 +0000

description:
On Alpha, build libc and libm with -mieee ... A metric crapload
of 3rd party software expects this.

XXX TODO: consider libm-fast for alpha that is not -mieee.  Possibly
determine -mieee or not at run-time based on a bit in the executable
headers.

diffstat:

 lib/libc/arch/alpha/Makefile.inc |  5 ++++-
 lib/libm/Makefile                |  4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 18d8d34fbf3d -r 044919010bfa lib/libc/arch/alpha/Makefile.inc
--- a/lib/libc/arch/alpha/Makefile.inc  Sun Jan 27 21:49:46 2002 +0000
+++ b/lib/libc/arch/alpha/Makefile.inc  Sun Jan 27 21:59:18 2002 +0000
@@ -1,4 +1,7 @@
-#      $NetBSD: Makefile.inc,v 1.10 1999/01/15 13:31:15 bouyer Exp $
+#      $NetBSD: Makefile.inc,v 1.11 2002/01/27 21:59:18 thorpej Exp $
+
+# XXX Build with -mieee for now.
+COPTS+=        -mieee
 
 KMINCLUDES=
 KMSRCS=        divrem.m4 \
diff -r 18d8d34fbf3d -r 044919010bfa lib/libm/Makefile
--- a/lib/libm/Makefile Sun Jan 27 21:49:46 2002 +0000
+++ b/lib/libm/Makefile Sun Jan 27 21:59:18 2002 +0000
@@ -1,4 +1,4 @@
-#  $NetBSD: Makefile,v 1.56 2001/12/28 01:32:39 lukem Exp $
+#  $NetBSD: Makefile,v 1.57 2002/01/27 21:59:19 thorpej Exp $
 #
 #  @(#)Makefile 5.1beta 93/09/24
 #
@@ -52,6 +52,8 @@
 WARNS?=                1
 
 .if (${MACHINE_ARCH} == "alpha")
+# XXX Build with -mieee for now.
+COPTS+=        -mieee
 .PATH: ${.CURDIR}/arch/alpha
 ARCH_SRCS = s_copysign.S s_copysignf.S
 .elif ((${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64"))



Home | Main Index | Thread Index | Old Index