summaryrefslogtreecommitdiff
path: root/usr.bin/pcc
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2007-10-14 20:29:28 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2007-10-14 20:29:28 +0000
commit97a2e812a7fee67f316255c168f3a723da7fc6e7 (patch)
tree2becb7f37267683eba8335151289751d67b6f5f8 /usr.bin/pcc
parent285a10d50a88007aa954c89ff9587800caade3e1 (diff)
by default just build ccom for the current host
Diffstat (limited to 'usr.bin/pcc')
-rw-r--r--usr.bin/pcc/ccom/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/pcc/ccom/Makefile b/usr.bin/pcc/ccom/Makefile
index 52406f7ac61..4367db43b8b 100644
--- a/usr.bin/pcc/ccom/Makefile
+++ b/usr.bin/pcc/ccom/Makefile
@@ -1,9 +1,12 @@
-# $OpenBSD: Makefile,v 1.1 2007/10/07 17:58:51 otto Exp $
+# $OpenBSD: Makefile,v 1.2 2007/10/14 20:29:27 otto Exp $
#
# Makefile for the ccom part of pcc.
#
+.if ${MACHINE_ARCH} == "i386"
SUBDIR+= x86
-#SUBDIR+= vax
+.else
+SUBDIR+= ${MACHINE_ARCH}
+.endif
.include <bsd.subdir.mk>