summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
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 /Makefile.inc1
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 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index d4bb675..9a471e1 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1127,10 +1127,12 @@ _kgzip= usr.sbin/kgzip
.endif
.endif
+.if ${MK_CLANG} != "no"
.if ${CC:T:Mclang} == "clang"
_clang= usr.bin/clang
_clang_libs= lib/clang
.endif
+.endif
cross-tools:
.for _tool in \
OpenPOWER on IntegriCloud