summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils
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 /gnu/usr.bin/binutils
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 'gnu/usr.bin/binutils')
-rw-r--r--gnu/usr.bin/binutils/Makefile.bsd-wrapper4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/Makefile.bsd-wrapper b/gnu/usr.bin/binutils/Makefile.bsd-wrapper
index ca5a04d00eb..9eeb0ced47e 100644
--- a/gnu/usr.bin/binutils/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/binutils/Makefile.bsd-wrapper
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.73 2008/08/22 13:02:53 kettenis Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.74 2010/02/03 20:48:58 miod Exp $
NEW_BINUTILS=alpha amd64 arm hppa hppa64 i386 mips64 powerpc sh sparc sparc64
-.for _arch in ${MACHINE_ARCH}
+.for _arch in ${MACHINE_CPU}
. if !empty(NEW_BINUTILS:M${_arch})
USING_NEW_BINUTILS?=yes
.else