Drink ALL the Kool-Aid.
(Move -mieee from lib/ to bsd.*.mk; new var MKIEEEFP defaults to yes.)
This commit is contained in:
parent
044c8f0a7a
commit
de50fe2e64
@ -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 \
|
||||
|
@ -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 @@ USE_SHLIBDIR= yes
|
||||
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"))
|
||||
|
@ -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 @@ MKGCC If "no", don't build gcc or any of the gcc-related
|
||||
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.
|
||||
|
||||
|
@ -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 @@ MK${var}:= no
|
||||
.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
|
||||
|
@ -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 @@ COPTS+= -msoft-float
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user