diff options
author | 2000-09-14 13:15:39 +0000 | |
---|---|---|
committer | 2000-09-14 13:15:39 +0000 | |
commit | f66a015fc24d212dfe47311fe8c7690cdfb8dbca (patch) | |
tree | ab03c2f0e10efbb23276eb17641efcc3fc5e5aa3 | |
parent | sync (diff) | |
download | wireguard-openbsd-f66a015fc24d212dfe47311fe8c7690cdfb8dbca.tar.xz wireguard-openbsd-f66a015fc24d212dfe47311fe8c7690cdfb8dbca.zip |
Can't directly :M${MACHINE_ARCH}, so kludge it thru a for loop.
Thanks, Dale.
-rw-r--r-- | gnu/usr.bin/binutils/Makefile.bsd-wrapper | 8 |
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} |