Add clang to the cross-tools build stage.

Submitted by:	Dimitry Andric <dimitry at andric.com>
This commit is contained in:
Rui Paulo 2010-08-21 15:39:06 +00:00
parent 934f2f338c
commit ad8a0e422c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211572

View File

@ -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 \