Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2017 00:03:46 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325184 - head/targets/pseudo/clang
Message-ID:  <201710310003.v9V03kWE047021@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Tue Oct 31 00:03:46 2017
New Revision: 325184
URL: https://svnweb.freebsd.org/changeset/base/325184

Log:
  Provide clang-rt for the clang toolchain as well.
  
  Sponsored by:	Dell EMC Isilon

Modified:
  head/targets/pseudo/clang/Makefile.depend

Modified: head/targets/pseudo/clang/Makefile.depend
==============================================================================
--- head/targets/pseudo/clang/Makefile.depend	Tue Oct 31 00:03:43 2017	(r325183)
+++ head/targets/pseudo/clang/Makefile.depend	Tue Oct 31 00:03:46 2017	(r325184)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710310003.v9V03kWE047021>