diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-08-21 15:39:06 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-08-21 15:39:06 +0000 |
commit | f6b8e3c85ce6361d3c6162364eece3b024a7edf6 (patch) | |
tree | 8e4e27110290b60e995194f65e652aea15128c3d /Makefile.inc1 | |
parent | 29c990d32567eba65c1b5f1ea5f6518b816dd429 (diff) | |
download | FreeBSD-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.inc1 | 7 |
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 \ |