summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2012-08-10 12:11:30 +0000
committerjoerg <joerg@NetBSD.org>2012-08-10 12:11:30 +0000
commitb9fb049c8f708eb3c5e6377c28eb5358dd097fa2 (patch)
tree6146c0f64b96a35568349ce6bab03a6458e87978 /gnu
parente8a94b25b9b019f1dc685d6c9065b7d09534a390 (diff)
Only build gcc here, if MKGCC != no.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile
index 8e9556c5a26..56f22ace20c 100644
--- a/gnu/usr.bin/Makefile
+++ b/gnu/usr.bin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.135 2011/06/21 04:52:50 mrg Exp $
+# $NetBSD: Makefile,v 1.136 2012/08/10 12:11:30 joerg Exp $
.include <bsd.own.mk>
@@ -23,10 +23,12 @@ SUBDIR+= gdb6
.endif
.endif
+.if ${MKGCC} != "no"
.if ${HAVE_GCC} == 4
.if ${MKGCCCMDS} != "no"
SUBDIR+= gcc4
.endif
.endif
+.endif
.include <bsd.subdir.mk>