mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Provide clang-rt for the clang toolchain as well.
Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
389bd18d0b
commit
6c0e752349
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325184
|
@ -12,6 +12,28 @@ DIRDEPS = \
|
|||
usr.bin/clang/llvm-objdump \
|
||||
usr.bin/clang/llvm-tblgen \
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
|
||||
DIRDEPS+= \
|
||||
lib/libclang_rt/include \
|
||||
lib/libclang_rt/asan \
|
||||
lib/libclang_rt/asan-preinit \
|
||||
lib/libclang_rt/asan_dynamic \
|
||||
lib/libclang_rt/asan_cxx \
|
||||
lib/libclang_rt/safestack \
|
||||
lib/libclang_rt/stats \
|
||||
lib/libclang_rt/stats_client \
|
||||
lib/libclang_rt/ubsan_standalone \
|
||||
lib/libclang_rt/ubsan_standalone_cxx \
|
||||
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" || \
|
||||
(${MACHINE_CPUARCH} == "arm" && ${MACHINE_ARCH} != "armeb")
|
||||
DIRDEPS+= \
|
||||
lib/libclang_rt/profile \
|
||||
|
||||
.endif
|
||||
|
||||
.if ${MK_LLDB} == "yes"
|
||||
DIRDEPS+= \
|
||||
usr.bin/clang/lldb
|
||||
|
|
Loading…
Reference in a new issue