summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2002-06-12 04:17:24 +0000
committerart <art@openbsd.org>2002-06-12 04:17:24 +0000
commit06243ed803f58c0e5fed7f26ebb41b04c043aace (patch)
treee950c1c5ca188f28cf0fc275ca782c68f40954a6
parentso let us analyse the development process here: (diff)
downloadwireguard-openbsd-06243ed803f58c0e5fed7f26ebb41b04c043aace.tar.xz
wireguard-openbsd-06243ed803f58c0e5fed7f26ebb41b04c043aace.zip
use ELF_TOOLCHAIN instead of listing all archs.
drahn@ ok.
-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