From ad8a0e422ce574dae5276cdbe9baef6e30f0f12c Mon Sep 17 00:00:00 2001 From: Rui Paulo Date: Sat, 21 Aug 2010 15:39:06 +0000 Subject: [PATCH] Add clang to the cross-tools build stage. Submitted by: Dimitry Andric --- Makefile.inc1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile.inc1 b/Makefile.inc1 index 1e2bec68ad6f..790a1cd20494 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 \