Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Drink ALL the Kool-Aid.
details: https://anonhg.NetBSD.org/src/rev/4ebc49750cf2
branches: trunk
changeset: 521301:4ebc49750cf2
user: ross <ross%NetBSD.org@localhost>
date: Sun Jan 27 23:33:51 2002 +0000
description:
Drink ALL the Kool-Aid.
(Move -mieee from lib/ to bsd.*.mk; new var MKIEEEFP defaults to yes.)
diffstat:
lib/libc/arch/alpha/Makefile.inc | 5 +----
lib/libm/Makefile | 4 +---
share/mk/bsd.README | 5 ++++-
share/mk/bsd.own.mk | 4 ++--
share/mk/bsd.sys.mk | 9 ++++++++-
5 files changed, 16 insertions(+), 11 deletions(-)
diffs (90 lines):
diff -r fed737bdd66a -r 4ebc49750cf2 lib/libc/arch/alpha/Makefile.inc
--- a/lib/libc/arch/alpha/Makefile.inc Sun Jan 27 23:00:34 2002 +0000
+++ b/lib/libc/arch/alpha/Makefile.inc Sun Jan 27 23:33:51 2002 +0000
@@ -1,7 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.11 2002/01/27 21:59:18 thorpej Exp $
-
-# XXX Build with -mieee for now.
-COPTS+= -mieee
+# $NetBSD: Makefile.inc,v 1.12 2002/01/27 23:33:52 ross Exp $
KMINCLUDES=
KMSRCS= divrem.m4 \
diff -r fed737bdd66a -r 4ebc49750cf2 lib/libm/Makefile
--- a/lib/libm/Makefile Sun Jan 27 23:00:34 2002 +0000
+++ b/lib/libm/Makefile Sun Jan 27 23:33:51 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2002/01/27 21:59:19 thorpej Exp $
+# $NetBSD: Makefile,v 1.58 2002/01/27 23:33:52 ross Exp $
#
# @(#)Makefile 5.1beta 93/09/24
#
@@ -52,8 +52,6 @@
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"))
diff -r fed737bdd66a -r 4ebc49750cf2 share/mk/bsd.README
--- a/share/mk/bsd.README Sun Jan 27 23:00:34 2002 +0000
+++ b/share/mk/bsd.README Sun Jan 27 23:33:51 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.README,v 1.91 2002/01/04 19:07:18 thorpej Exp $
+# $NetBSD: bsd.README,v 1.92 2002/01/27 23:33:51 ross Exp $
# @(#)bsd.README 8.2 (Berkeley) 4/2/94
This is the README file for the new make "include" files for the BSD
@@ -93,6 +93,9 @@
libraries (libg2c, libgcc, libobjc, libstdc++).
Only meaningful if USE_NEW_TOOLCHAIN is set.
+MKIEEEFP If "no", don't add code for IEEE754/IEC60559 conformance.
+ Has no effect on most platforms.
+
MKINFO If "no", don't build or install Info documentation from
Texinfo source files.
diff -r fed737bdd66a -r 4ebc49750cf2 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Sun Jan 27 23:00:34 2002 +0000
+++ b/share/mk/bsd.own.mk Sun Jan 27 23:33:51 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.257 2002/01/26 23:53:00 reinoud Exp $
+# $NetBSD: bsd.own.mk,v 1.258 2002/01/27 23:33:51 ross Exp $
.if !defined(_BSD_OWN_MK_)
_BSD_OWN_MK_=1
@@ -369,7 +369,7 @@
.endfor
# MK* options which default to "yes".
-.for var in BFD CATPAGES CRYPTO DOC GCC GDB INFO KERBEROS LINKLIB LINT \
+.for var in BFD CATPAGES CRYPTO DOC GCC GDB IEEEFP INFO KERBEROS LINKLIB LINT \
MAN NLS OBJ PIC PICINSTALL PROFILE SHARE
MK${var}?= yes
.endfor
diff -r fed737bdd66a -r 4ebc49750cf2 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Sun Jan 27 23:00:34 2002 +0000
+++ b/share/mk/bsd.sys.mk Sun Jan 27 23:33:51 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.69 2002/01/25 05:21:40 lukem Exp $
+# $NetBSD: bsd.sys.mk,v 1.70 2002/01/27 23:33:51 ross Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -36,6 +36,13 @@
FOPTS+= -msoft-float
.endif
+.if defined(MKIEEEFP) && (${MKIEEEFP} != "no")
+.if ${MACHINE_ARCH} == "alpha"
+CFLAGS+= -mieee
+FFLAGS+= -mieee
+.endif
+.endif
+
# Helpers for cross-compiling
HOST_CC?= cc
HOST_CFLAGS?= -O
Home |
Main Index |
Thread Index |
Old Index