summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2010-08-21 15:39:06 +0000
committerrpaulo <rpaulo@FreeBSD.org>2010-08-21 15:39:06 +0000
commitf6b8e3c85ce6361d3c6162364eece3b024a7edf6 (patch)
tree8e4e27110290b60e995194f65e652aea15128c3d /Makefile.inc1
parent29c990d32567eba65c1b5f1ea5f6518b816dd429 (diff)
downloadFreeBSD-src-f6b8e3c85ce6361d3c6162364eece3b024a7edf6.zip
FreeBSD-src-f6b8e3c85ce6361d3c6162364eece3b024a7edf6.tar.gz
Add clang to the cross-tools build stage.
Submitted by: Dimitry Andric <dimitry at andric.com>
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc17
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 1e2bec6..790a1cd 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1078,8 +1078,15 @@ _kgzip= usr.sbin/kgzip
.endif
.endif
+.if ${CC:T:Mclang} == "clang"
+_clang= usr.bin/clang
+_clang_libs= lib/clang
+.endif
+
cross-tools:
.for _tool in \
+ ${_clang_libs} \
+ ${_clang} \
gnu/usr.bin/binutils \
gnu/usr.bin/cc \
usr.bin/xlint/lint1 usr.bin/xlint/lint2 usr.bin/xlint/xlint \
OpenPOWER on IntegriCloud