summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-08-21 18:24:11 +0000
committerdim <dim@FreeBSD.org>2012-08-21 18:24:11 +0000
commite879931fda30e641a7a17f0b16a3936b8c488978 (patch)
tree3a4a184efbef8e3a4c443d8b341434c0c3c01cdb /usr.bin
parent269886302961304d916ade24d529ed290aa81ce0 (diff)
downloadFreeBSD-src-e879931fda30e641a7a17f0b16a3936b8c488978.zip
FreeBSD-src-e879931fda30e641a7a17f0b16a3936b8c488978.tar.gz
When WITH_CLANG_EXTRAS is enabled, avoid needlessly building the llvm
and clang extras in the cross-tools stage. MFC after: 1 week
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/clang/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/clang/Makefile b/usr.bin/clang/Makefile
index 045431b..db5fae7 100644
--- a/usr.bin/clang/Makefile
+++ b/usr.bin/clang/Makefile
@@ -4,7 +4,7 @@
SUBDIR= clang clang-tblgen tblgen
-.if ${MK_CLANG_EXTRAS} != "no"
+.if ${MK_CLANG_EXTRAS} != "no" && !defined(TOOLS_PREFIX)
SUBDIR+=bugpoint \
llc \
lli \
OpenPOWER on IntegriCloud