summaryrefslogtreecommitdiff
path: root/lib/libm
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-02-03 20:49:02 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-02-03 20:49:02 +0000
commita0067f51183d8b472112a095c7c0d32145ff98b3 (patch)
tree96321fd1bd5ffaea0d4f16723ebb5a9cc4a139e9 /lib/libm
parent7dfb23e53684ac495a4cf9a6a5188a1f91d5885a (diff)
Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependent
files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@
Diffstat (limited to 'lib/libm')
-rw-r--r--lib/libm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libm/Makefile b/lib/libm/Makefile
index d59af2b54df..d91014889c7 100644
--- a/lib/libm/Makefile
+++ b/lib/libm/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.74 2009/11/06 23:30:21 kettenis Exp $
+# $OpenBSD: Makefile,v 1.75 2010/02/03 20:49:00 miod Exp $
# $NetBSD: Makefile,v 1.28 1995/11/20 22:06:19 jtc Exp $
#
# @(#)Makefile 5.1beta 93/09/24
@@ -143,7 +143,7 @@ SRCS= ${COMMON_SRCS}
CPPFLAGS+= -I${.CURDIR}/src -I${.CURDIR}/src/ld80
SRCS+= ${LONG_SRCS}
.endif
-.if (${MACHINE_ARCH} == "hppa64") || (${MACHINE_ARCH} == "mips64") || \
+.if (${MACHINE_ARCH} == "hppa64") || (${MACHINE_CPU} == "mips64") || \
(${MACHINE_ARCH} == "sparc64")
.PATH: ${.CURDIR}/src/ld128
CPPFLAGS+= -I${.CURDIR}/src -I${.CURDIR}/src/ld128