summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2011-04-06 20:08:23 +0000
committeruqs <uqs@FreeBSD.org>2011-04-06 20:08:23 +0000
commit51399b5e545e6295a177885aac552ea7fcd28a51 (patch)
treeb1ce5861e8057a34f0e81814af851dd015fac012 /share/mk
parenta0192d37e69b36c66e920e1050038e46084d28ee (diff)
downloadFreeBSD-src-51399b5e545e6295a177885aac552ea7fcd28a51.zip
FreeBSD-src-51399b5e545e6295a177885aac552ea7fcd28a51.tar.gz
Complete WITHOUT_CXX support. It implies WITHOUT_GROFF and
WITHOUT_CLANG. Don't build clang bootstrap/build-tools depending on this flag. We also keep gperf, devd and libstdc++ around to prevent foot-shooting and to make this a two-way street.
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.own.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index aa23389..eb51232 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -500,6 +500,11 @@ MK_OPENSSH:= no
MK_KERBEROS:= no
.endif
+.if ${MK_CXX} == "no"
+MK_CLANG:= no
+MK_GROFF:= no
+.endif
+
.if ${MK_IPX} == "no"
MK_NCP:= no
.endif
OpenPOWER on IntegriCloud