summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/Makefile
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-01-23 18:21:14 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-01-23 18:21:14 +0000
commit80035a6d1546658e9b872fe7d0c5b8490971801a (patch)
tree2a8df917075de06168f1d829d9a070203e39b9c8 /gnu/usr.bin/Makefile
parenta5e42a0d917b3adda8f8e5b87018ac515298d180 (diff)
USE_GCC3 switch, now that propolice is in.
Diffstat (limited to 'gnu/usr.bin/Makefile')
-rw-r--r--gnu/usr.bin/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile
index e2a7a1ef539..ec8ac6ddc39 100644
--- a/gnu/usr.bin/Makefile
+++ b/gnu/usr.bin/Makefile
@@ -1,9 +1,19 @@
-# $OpenBSD: Makefile,v 1.40 2003/11/24 17:12:55 espie Exp $
+# $OpenBSD: Makefile,v 1.41 2004/01/23 18:21:13 espie Exp $
# $NetBSD: Makefile,v 1.35 1996/04/03 21:20:52 chuck Exp $
.include <bsd.own.mk>
+USE_GCC3?=No
+.if make(obj)
+SUBDIR+= gcc ../egcs/gcc
+.else
+. if ${USE_GCC3:L} == "yes"
+SUBDIR+= gcc
+. else
SUBDIR+= ../egcs/gcc
+. endif
+.endif
+
SUBDIR+= cxxfilt cvs groff lynx rcs sendbug binutils
# most ports use binutils gas and ld, some do not (yet).