summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-09-14 13:15:40 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-09-14 13:15:40 +0000
commit9321a062f8931be6ca547300ff34f43a57b9611f (patch)
treed9960127e9203570b1013639777fdc42ab322cea
parent9ab1f7086e85dc6fb9deadcf258e0469fc73b858 (diff)
Can't directly :M${MACHINE_ARCH}, so kludge it thru a for loop.
Thanks, Dale.
-rw-r--r--gnu/usr.bin/binutils/Makefile.bsd-wrapper8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/usr.bin/binutils/Makefile.bsd-wrapper b/gnu/usr.bin/binutils/Makefile.bsd-wrapper
index 1a45dc1d934..f24f97643bd 100644
--- a/gnu/usr.bin/binutils/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/binutils/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.36 2000/09/12 23:59:03 espie Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.37 2000/09/14 13:15:39 espie Exp $
NEW_BINUTILS=alpha mips powerpc hppa
@@ -17,13 +17,15 @@ ALL_X11_MODULES+=all-gdb
INSTALL_X11_MODULES+=install-gdb
.endif
-.if !empty(NEW_BINUTILS:M${MACHINE_ARCH})
+.for _arch in ${MACHINE_ARCH}
+. if !empty(NEW_BINUTILS:M${_arch})
SUBDIRS+= binutils ld gas gprof
MAN+= binutils/ar.1 binutils/nm.1 \
binutils/objcopy.1 binutils/ranlib.1 \
binutils/size.1 binutils/strings.1 binutils/strip.1 \
gas/doc/as.1 gprof/gprof.1 ld/ld.1
-.endif
+. endif
+.endfor
# Used by the GNU Makefile
ALL_MODULES=${SUBDIRS:S/^/all-/g}