Add clang to the cross-tools build stage.
Submitted by: Dimitry Andric <dimitry at andric.com>
This commit is contained in:
parent
934f2f338c
commit
ad8a0e422c
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user