summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-07-24 18:39:02 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-07-24 18:39:02 +0000
commit64253af9b223f60813801a04a18169029891364b (patch)
treecb48cc2147536fe297049614b29452187ab928fe
parenta925c1757fbf2304643d25ad871429ba30b95ff6 (diff)
ELF_TOOLCHAIN, don't list all of them.
-rw-r--r--usr.sbin/config/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/config/Makefile b/usr.sbin/config/Makefile
index 76503abe604..76eaf00f0dc 100644
--- a/usr.sbin/config/Makefile
+++ b/usr.sbin/config/Makefile
@@ -1,12 +1,13 @@
-# $OpenBSD: Makefile,v 1.9 2001/09/07 20:47:18 brad Exp $
+# $OpenBSD: Makefile,v 1.10 2002/07/24 18:39:01 art Exp $
+
+.include <bsd.own.mk>
PROG= config
BINDIR= /usr/sbin
SRCS= files.c gram.y hash.c main.c mkheaders.c mkioconf.c mkmakefile.c \
mkswap.c pack.c scan.l sem.c util.c \
ukc.c misc.c ukcutil.c cmd.c exec.c
-.if (${MACHINE_ARCH} == "powerpc") || (${MACHINE_ARCH} == "hppa") || \
- (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64")
+.if (${ELF_TOOLCHAIN} == "yes")
CFLAGS+=-DELF_SUPPORT
SRCS+= exec_elf.c
.else