summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/Makefile
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-06-12 04:17:25 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-06-12 04:17:25 +0000
commit06c7af367f8e424fe98a549fbf7055997d45d9eb (patch)
treeac3634e34aa5c74894e85c5eddf4464774ace967 /gnu/usr.bin/Makefile
parent3280c6931e2220c48bf7e55e9c2a322767f95a3a (diff)
use ELF_TOOLCHAIN instead of listing all archs.
drahn@ ok.
Diffstat (limited to 'gnu/usr.bin/Makefile')
-rw-r--r--gnu/usr.bin/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile
index 1d77cbe131e..42413694e2c 100644
--- a/gnu/usr.bin/Makefile
+++ b/gnu/usr.bin/Makefile
@@ -1,6 +1,8 @@
-# $OpenBSD: Makefile,v 1.31 2002/02/28 06:59:18 millert Exp $
+# $OpenBSD: Makefile,v 1.32 2002/06/12 04:17:24 art Exp $
# $NetBSD: Makefile,v 1.35 1996/04/03 21:20:52 chuck Exp $
+.include <bsd.own.mk>
+
SUBDIR+= bc cvs diff diff3
SUBDIR+=../egcs/gcc
#SUBDIR+= gcc
@@ -8,8 +10,7 @@ SUBDIR+= grep groff gzip lynx rcs sdiff sendbug
SUBDIR+= binutils
# some ports use binutils gas and ld, most do not (yet).
-.if (${MACHINE_ARCH} != "alpha") && (${MACHINE_ARCH} != powerpc) && \
- (${MACHINE_ARCH} != "hppa") && (${MACHINE_ARCH} != "sparc64")
+.if ${ELF_TOOLCHAIN} != "yes"
SUBDIR+= gas ld
.endif